/* Directori Cuiners de Catalunya — estils públics. Tot dins .dcc per evitar conflictes. */
.dcc{
	--dcc-cream:#fdf9f4;--dcc-cream2:#faeee3;--dcc-red:#a8141e;--dcc-red-d:#8a0f18;--dcc-ink:#1c1a19;--dcc-muted:#5b5550;
	--dcc-sand:#d9b9a0;--dcc-line:#eadfd3;--dcc-tag:#efeae4;
	--dcc-serif:'Source Serif 4','Source Serif Pro',Georgia,'Times New Roman',serif;
	--dcc-sans:system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
	box-sizing:border-box;color:var(--dcc-ink);font-family:var(--dcc-sans);line-height:1.55;font-size:16px;
}
.dcc *,.dcc *::before,.dcc *::after{box-sizing:border-box}
.dcc img{max-width:100%;height:auto;display:block}
.dcc a{color:var(--dcc-red)}
.dcc a:focus-visible,.dcc button:focus-visible,.dcc input:focus-visible,.dcc select:focus-visible,.dcc textarea:focus-visible{outline:3px solid #1a5fb4;outline-offset:2px}
.dcc-ic{width:1.35em;height:1.35em;fill:var(--dcc-red);flex:none}

/* ---------- Ficha ---------- */
body.dcc-single-page .dcc-content-area{width:100%;float:none;max-width:none}
.dcc-ficha{max-width:960px;margin:0 auto 40px;background:var(--dcc-cream);padding-bottom:0;box-shadow:0 1px 18px rgba(0,0,0,.08)}
.dcc-sample-note{margin:0;background:#fff3cd;color:#6d5400;text-align:center;font-size:13px;font-weight:600;padding:6px 12px;letter-spacing:.03em}
.dcc-hero{background:linear-gradient(90deg,rgba(15,25,12,.82),rgba(60,30,10,.55)),repeating-linear-gradient(45deg,#4a6b32 0 14px,#7a3b1d 14px 28px);color:#fff;padding:28px 32px}
.dcc-directory>.dcc-hero{margin-bottom:0}
.dcc-hero.has-img{background-image:linear-gradient(90deg,rgba(15,25,12,.78),rgba(40,25,10,.55)),var(--dcc-hero-img);background-size:cover;background-position:center}
.dcc-hero-title{margin:0;font:700 clamp(26px,5vw,40px)/1.1 var(--dcc-serif);letter-spacing:.5px}
.dcc-hero-sub{margin:6px 0 0;font:clamp(15px,2.4vw,20px) var(--dcc-serif);opacity:.95}
.dcc-crumbs{padding:14px 32px;font-size:13px;color:var(--dcc-muted)}
.dcc-crumbs ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px 8px}
.dcc-crumbs li+li::before{content:"›";margin-right:8px;color:var(--dcc-muted)}
.dcc-crumbs a{color:var(--dcc-muted);text-decoration:none}.dcc-crumbs a:hover{text-decoration:underline}

.dcc-main{display:grid;grid-template-columns:240px 1fr;gap:28px;padding:0 32px;align-items:start}
.dcc-main-photo img,.dcc-main-photo .dcc-photo{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:4px;background:#e8dccf}
.dcc-photo-ph{object-fit:contain!important;padding:12%}
.dcc-name{font:700 clamp(30px,5vw,42px)/1.1 var(--dcc-serif);margin:0;color:var(--dcc-ink);text-transform:none;letter-spacing:0}
.dcc-role{font:700 21px var(--dcc-serif);color:var(--dcc-red);margin:8px 0 20px}
.dcc-data{list-style:none;margin:0;padding:0;display:grid;gap:13px}
.dcc-data li{display:flex;gap:14px;align-items:center;font:17px var(--dcc-serif);overflow-wrap:anywhere}
.dcc-data .dcc-ic{width:24px;height:24px}
.dcc-data a{color:inherit}

.dcc-sec{padding:0 32px;margin-top:38px}
.dcc-h2{font:700 25px var(--dcc-serif);color:var(--dcc-red);margin:0 0 14px;display:flex;align-items:center;gap:12px;text-transform:none;letter-spacing:0}
.dcc-cols .dcc-h2,.dcc-specs .dcc-h2{font-size:21px}
.dcc-cols .dcc-h2 .dcc-ic,.dcc-specs .dcc-h2 .dcc-ic{width:30px;height:30px}
.dcc-bio-grid{display:grid;grid-template-columns:1fr;gap:26px}
.dcc-bio.has-quote .dcc-bio-grid{grid-template-columns:1fr 230px}
.dcc-bio-text p{margin:0 0 .8em;font:17px/1.65 var(--dcc-serif)}
.dcc-quote{margin:0;background:var(--dcc-cream2);padding:20px;border-radius:3px;font:italic 18px/1.5 var(--dcc-serif);align-self:start;border:0}
.dcc-quote::before{content:"“";display:block;font-size:48px;line-height:.6;color:var(--dcc-sand);margin-bottom:6px}
.dcc-quote p{margin:0}
.dcc-quote::after{content:"";display:block;width:28px;border-top:2px solid var(--dcc-red);margin-top:16px}

.dcc-exp-grid{display:grid;grid-template-columns:1fr;gap:28px;align-items:start}
.dcc-exp.has-photo .dcc-exp-grid{grid-template-columns:1fr 280px}
.dcc-timeline{list-style:none;margin:0;padding:0 0 0 24px;border-left:2px solid var(--dcc-sand)}
.dcc-timeline li{position:relative;display:grid;grid-template-columns:130px 1fr;gap:16px;padding:0 0 20px;font-size:15.5px}
.dcc-timeline li.no-period{grid-template-columns:1fr}
.dcc-timeline li::before{content:"";position:absolute;left:-31px;top:6px;width:10px;height:10px;border-radius:50%;background:var(--dcc-sand)}
.dcc-period{font-weight:600}
.dcc-exp-body{display:flex;gap:12px;align-items:flex-start}
.dcc-exp-logo{width:40px!important;height:40px;object-fit:contain;border-radius:50%;background:#fff;border:1px solid var(--dcc-line);flex:none}
.dcc-exp-text{display:flex;flex-direction:column}
.dcc-exp-role{color:var(--dcc-ink)}
.dcc-exp-desc{color:var(--dcc-muted);font-size:14.5px;margin-top:2px}
.dcc-photo2{margin:0}
.dcc-photo2 img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:4px}

.dcc-cols{display:grid;grid-template-columns:1fr;gap:30px}
.dcc-cols.two{grid-template-columns:1fr 1fr}
.dcc-list{margin:0;padding-left:20px;font-size:15.5px}.dcc-list li{margin-bottom:7px}
.dcc-year{color:var(--dcc-muted)}
.dcc-tags{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.dcc-tags li{background:var(--dcc-tag);border-radius:999px;padding:6px 16px;font-size:14.5px}
.dcc-back{padding:0 32px 22px;margin:34px 0 0}
.dcc-back a{font-weight:600;text-decoration:none}.dcc-back a:hover{text-decoration:underline}
.dcc-foot{background:#f2ece5;padding:14px 32px;margin-top:10px;display:flex;flex-wrap:wrap;gap:8px 24px;justify-content:space-between;font-size:13px;color:var(--dcc-muted)}
.dcc-foot .dcc-ic{width:1.2em;height:1.2em;vertical-align:-3px;margin-right:8px}
.dcc-ficha>.dcc-sec:last-of-type{margin-bottom:6px}

/* ---------- Directori ---------- */
.dcc-directory{max-width:1140px;margin:0 auto}
.dcc-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;margin:0 0 18px;padding:16px;background:var(--dcc-cream);border:1px solid var(--dcc-line);border-radius:8px}
.dcc-f{margin:0;display:flex;flex-direction:column;gap:4px}
.dcc-f label{font-size:13px;font-weight:600;color:var(--dcc-muted)}
.dcc-f-q{flex:2 1 240px}.dcc-f-p{flex:1 1 200px}
.dcc-f-b{flex-direction:row;gap:8px;align-items:center}
.dcc input[type=search],.dcc input[type=text],.dcc input[type=email],.dcc input[type=url],.dcc input[type=number],.dcc select,.dcc textarea{
	width:100%;padding:10px 12px;font:inherit;font-size:16px;border:1px solid #cdb9a8;border-radius:6px;background:#fff;color:var(--dcc-ink);min-height:44px}
.dcc-btn{display:inline-block;background:var(--dcc-red);color:#fff!important;border:1px solid var(--dcc-red);border-radius:6px;padding:10px 20px;font:600 15px var(--dcc-sans);text-decoration:none!important;cursor:pointer;text-align:center;min-height:44px;line-height:1.4}
.dcc-btn:hover{background:var(--dcc-red-d)}
.dcc-btn-ghost{background:transparent;color:var(--dcc-red)!important}.dcc-btn-ghost:hover{background:#fbeceb}
.dcc-btn-lg{padding:12px 28px;font-size:17px}
.dcc-count{margin:0 0 12px;color:var(--dcc-muted);font-size:14px;min-height:1em}
.dcc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:22px}
.dcc-directory[data-cols="2"] .dcc-grid{grid-template-columns:repeat(2,1fr)}
.dcc-directory[data-cols="3"] .dcc-grid{grid-template-columns:repeat(3,1fr)}
.dcc-directory[data-cols="4"] .dcc-grid{grid-template-columns:repeat(4,1fr)}
.dcc-card{background:#fff;border:1px solid var(--dcc-line);border-radius:8px;overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .15s}
.dcc-card:hover,.dcc-card:focus-within{box-shadow:0 4px 18px rgba(60,30,10,.14)}
.dcc-card-photo{display:block;background:#e8dccf}
.dcc-card-photo img{width:100%;aspect-ratio:4/3;object-fit:cover}
.dcc-card-photo .dcc-photo-ph{object-fit:contain;padding:10%}
.dcc-card-body{padding:16px;display:flex;flex-direction:column;gap:4px;flex:1}
.dcc-card-name{margin:0;font:700 20px/1.2 var(--dcc-serif);text-transform:none;letter-spacing:0}
.dcc-card-name a{color:var(--dcc-ink);text-decoration:none}.dcc-card-name a:hover{color:var(--dcc-red)}
.dcc-card-role{margin:0;color:var(--dcc-red);font:600 15.5px var(--dcc-serif)}
.dcc-card-meta{margin:0;color:var(--dcc-muted);font-size:14px}
.dcc-card .dcc-btn{margin-top:auto;align-self:stretch}
.dcc-card-body>.dcc-card-meta:last-of-type{margin-bottom:12px}
.dcc-empty{text-align:center;padding:40px 16px;background:var(--dcc-cream);border:1px dashed var(--dcc-sand);border-radius:8px}
.dcc-pagination ul{list-style:none;display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin:28px 0 0;padding:0}
.dcc-pagination a,.dcc-pagination span{display:inline-block;min-width:40px;padding:8px 12px;text-align:center;border:1px solid var(--dcc-sand);border-radius:6px;text-decoration:none;color:var(--dcc-red)}
.dcc-pagination .current{background:var(--dcc-red);color:#fff;border-color:var(--dcc-red)}
.dcc-pagination .dots{border:0}

/* ---------- Formulari ---------- */
.dcc-form-wrap{max-width:860px;margin:0 auto}
.dcc-form-note{background:var(--dcc-cream);border-left:4px solid var(--dcc-red);padding:12px 16px;margin:0 0 20px}
.dcc-alert{background:#fdecea;border:1px solid #e3a5a0;color:#7a1410;padding:12px 16px;border-radius:6px;margin-bottom:18px;font-weight:600}
.dcc-ok{background:#eef7ee;border:1px solid #9bc79b;color:#1d4b1d;padding:20px;border-radius:8px;font-size:17px}
.dcc-form fieldset{border:1px solid var(--dcc-line);background:var(--dcc-cream);border-radius:8px;padding:18px 20px 8px;margin:0 0 20px;min-width:0}
.dcc-form legend{font:700 21px var(--dcc-serif);color:var(--dcc-red);padding:0 8px}
.dcc-fld{margin:0 0 16px;display:flex;flex-direction:column;gap:5px}
.dcc-fld label{font-weight:600;font-size:15px}
.dcc-req{color:var(--dcc-red);font-weight:700}
.dcc-opt{font-weight:400;color:var(--dcc-muted);font-size:13px}
.dcc-help{color:var(--dcc-muted);font-size:13.5px;margin:0 0 12px;display:block}
.dcc-err{color:#b3261e;font-size:14px;font-weight:600}
.dcc-row2{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
.dcc-row3{display:grid;grid-template-columns:1.2fr 1.4fr .5fr;gap:0 14px}
.dcc-short{max-width:200px}
.dcc-private{background:#fff;border:1px dashed var(--dcc-sand);border-radius:6px;padding:12px 14px 2px;margin-bottom:16px}
.dcc-private-t{margin:0 0 10px;font-weight:700;color:var(--dcc-red)}
.dcc-check{margin:0 0 14px}
.dcc-check label{display:flex;gap:10px;align-items:flex-start;font-weight:400;cursor:pointer}
.dcc-check input,.dcc-checks input{margin-top:.3em;width:18px;height:18px;flex:none}
.dcc-checks{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px 16px;margin-bottom:14px}
.dcc-checks label{display:flex;gap:8px;align-items:flex-start}
.dcc-rrow{border-top:1px solid var(--dcc-line);padding-top:12px;margin-bottom:6px}
.dcc-rrow:first-child{border-top:0;padding-top:0}
.dcc-rrow-t{margin:0 0 8px;font-weight:700;color:var(--dcc-muted)}
.dcc-h3{font:700 18px var(--dcc-serif);margin:10px 0}
.dcc-count-l{font-size:13px;color:var(--dcc-muted)}
.dcc-hp{position:absolute!important;left:-9999px!important;height:1px;width:1px;overflow:hidden}
.dcc-add{margin:0 0 14px}
.dcc-steps-nav{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 18px;padding:0;list-style:none;counter-reset:s}
.dcc-steps-nav li{counter-increment:s;flex:1 1 90px}
.dcc-steps-nav button{width:100%;padding:8px 6px;font:600 13px var(--dcc-sans);background:#fff;border:1px solid var(--dcc-sand);border-radius:6px;color:var(--dcc-muted);cursor:pointer;min-height:44px}
.dcc-steps-nav button::before{content:counter(s) ". "}
.dcc-steps-nav .is-active button{background:var(--dcc-red);border-color:var(--dcc-red);color:#fff}
.dcc-steps-nav .is-done button{border-color:var(--dcc-red);color:var(--dcc-red)}
.dcc-pager{display:flex;justify-content:space-between;gap:10px;margin:0 0 20px}
.dcc-js .dcc-step[hidden]{display:none}

/* ---------- Mòbil ---------- */
@media (max-width:700px){
	.dcc-hero,.dcc-crumbs,.dcc-sec,.dcc-back,.dcc-foot{padding-left:18px;padding-right:18px}
	.dcc-main{grid-template-columns:1fr;padding:0 18px;gap:18px}
	.dcc-main-photo{max-width:280px}
	.dcc-bio.has-quote .dcc-bio-grid,.dcc-exp.has-photo .dcc-exp-grid,.dcc-cols.two{grid-template-columns:1fr}
	.dcc-timeline li{grid-template-columns:1fr;gap:2px}
	.dcc-photo2 img{aspect-ratio:4/3}
	.dcc-row2,.dcc-row3{grid-template-columns:1fr}
	.dcc-directory[data-cols] .dcc-grid{grid-template-columns:1fr 1fr}
	.dcc-filters{padding:12px}
}
@media (max-width:420px){.dcc-directory[data-cols] .dcc-grid,.dcc-grid{grid-template-columns:1fr}}
@media print{.dcc-filters,.dcc-back,.dcc-pagination{display:none}}
@media (prefers-reduced-motion:reduce){.dcc *{transition:none!important}}

/* ---------- Mapa (opcional) ---------- */
.dcc-map-addr{margin:0 0 12px;font:16px var(--dcc-serif)}
.dcc-map-box{position:relative;min-height:220px;border-radius:6px;border:1px solid var(--dcc-line);background:var(--dcc-cream2);display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center;padding:20px;text-align:center}
.dcc-map-box .dcc-help{margin:0;max-width:44ch}
.dcc-map-box.is-open{padding:0;min-height:0;display:block;background:none}
.dcc-map-box iframe{display:block;width:100%;height:340px;border:0;border-radius:6px}
.dcc-map-link{margin:10px 0 0;font-size:14px}

.dcc-map-item+.dcc-map-item{margin-top:26px}
.dcc-notes-text p{margin:0 0 .8em;font:16px/1.65 var(--dcc-serif)}
