@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap");
/*
Theme Name: Internēs — Tardor
Theme URI: https://internes.cat/
Author: Internēs
Description: Una portada única, càlida i editorial inspirada en els Pirineus i la fotografia analògica.
Version: 3.5.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: internes
*/
:root{--paper:#f0e7d9;--paper2:#e5d8c6;--ink:#29271f;--muted:#6d665a;--olive:#62664d;--rust:#a66b49;--serif:Georgia,'Times New Roman',serif;--sans:Arial,Helvetica,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-weight:400;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}a:focus-visible{outline:2px solid var(--rust);outline-offset:5px}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:1rem;top:1rem;z-index:99;background:white;padding:1rem}.topbar{position:absolute;z-index:5;top:0;left:0;width:100%;display:flex;justify-content:space-between;align-items:center;padding:30px 6%;color:#fff}.wordmark{font-family:'Space Grotesk',Arial,Helvetica,sans-serif;font-size:1.7rem;letter-spacing:.015em;font-weight:700}.top-contact{display:flex;gap:25px;align-items:center;font-size:.82rem;letter-spacing:.03em}.top-contact a{border-bottom:0;padding-bottom:0}.hero{height:min(820px,100svh);min-height:600px;position:relative;display:flex;align-items:center;color:#fff;overflow:hidden;background:#514333 url('assets/casa-calida.jpg') center 48%/cover no-repeat}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(28,24,19,.56),rgba(28,24,19,.1) 78%),linear-gradient(0deg,rgba(28,24,19,.3),transparent 40%)}.hero-content{position:relative;z-index:1;margin:55px 6% 0;max-width:850px}.eyebrow{font-size:.66rem;letter-spacing:.24em;line-height:1.8;text-transform:uppercase}.hero .eyebrow{color:#ead4b7;margin:0 0 28px}.hero h1{font-family:var(--serif);font-size:clamp(3.3rem,7.1vw,6.7rem);line-height:1.02;letter-spacing:-.045em;font-weight:400;margin:0 0 30px;max-width:900px}.hero h1 em{font-weight:400;color:#e5c39f}.hero-rule{width:44px;height:1px;background:#e5c39f;margin:30px 0}.hero-bottom{position:absolute;bottom:27px;left:6%;right:6%;display:flex;justify-content:space-between;font-size:.62rem;letter-spacing:.23em;color:rgba(255,255,255,.85);text-transform:uppercase}.mobile-only-break{display:none}.essentials{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding:60px 8%;background:var(--paper);text-align:center}.essential{display:flex;flex-direction:column;align-items:center;gap:13px}.line-icon{font-family:var(--serif);font-size:2.2rem;font-weight:300;color:var(--olive)}.essential p{margin:0;font-size:.67rem;line-height:1.9;letter-spacing:.16em;text-transform:uppercase}.essential small{font-size:.78rem;letter-spacing:0;text-transform:none;color:var(--muted)}.landscape{display:grid;grid-template-columns:1.15fr .85fr;min-height:430px;background:var(--olive);color:#f4eadb}.landscape-photo{min-height:430px;background:url('assets/poble-cerdanya.jpg') center 48%/cover no-repeat}.landscape-copy{padding:10%;display:flex;flex-direction:column;justify-content:center}.landscape-copy .eyebrow{color:#e5c39f}.landscape-copy h2,.life-copy h2,.coverage-copy h2{font-family:var(--serif);font-size:clamp(2.8rem,4.6vw,5rem);line-height:1.04;letter-spacing:-.04em;font-weight:400;margin:22px 0}.landscape-copy p,.life-copy p,.coverage-copy p{font-size:.92rem;line-height:1.8;max-width:350px;color:inherit;opacity:.85}.life{display:grid;grid-template-columns:.8fr 1.2fr;min-height:390px;background:var(--paper2)}.life-copy{padding:10%;display:flex;flex-direction:column;justify-content:center}.life-copy h2{font-size:clamp(2.6rem,4vw,4.5rem)}.life-photo{background:url('assets/interior-flors.jpg') center 54%/cover no-repeat;min-height:390px}.coverage{display:grid;grid-template-columns:.85fr 1.15fr;min-height:320px;background:#e9dfd0}.coverage-copy{padding:9%;display:flex;flex-direction:column;justify-content:center}.coverage-copy h2{font-size:clamp(2.5rem,4vw,4rem)}.coverage-art{position:relative;overflow:hidden;background:radial-gradient(ellipse at 58% 45%,#c9cbb0 0 13%,transparent 13.5%),radial-gradient(ellipse at 48% 60%,#d4d0bc 0 20%,transparent 20.5%),linear-gradient(135deg,#e9dfd0,#d9cfbe)}.coverage-art:before{content:"";position:absolute;inset:0;opacity:.45;background:repeating-linear-gradient(155deg,transparent 0 23px,#b7ad9b 24px,transparent 25px 46px),repeating-linear-gradient(25deg,transparent 0 33px,#b7ad9b 34px,transparent 35px 65px);mask-image:radial-gradient(ellipse at center,#000 15%,transparent 72%)}.region{position:absolute;font-size:.65rem;letter-spacing:.2em;text-transform:uppercase;color:#535341}.region.one{top:43%;left:52%}.region.two{top:65%;left:26%}.region.three{top:76%;left:56%}.sunset{min-height:300px;background:linear-gradient(90deg,rgba(35,31,26,.42),rgba(35,31,26,.08)),url('assets/vespre.jpg') center 54%/cover no-repeat;display:flex;align-items:flex-end;padding:38px 6%;color:white}.sunset p{font-family:var(--serif);font-size:clamp(1.9rem,4vw,3.4rem);line-height:1.08;margin:0;max-width:520px}.contact{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:48px 6%;background:#292b22;color:var(--paper)}.contact .wordmark{font-size:2rem;font-weight:700}.contact .tagline{font-size:.6rem;letter-spacing:.22em;text-transform:uppercase;color:#c9bda9;margin-top:10px}.contact-details{display:flex;flex-wrap:wrap;gap:28px;align-items:center}.contact-details a{font-size:.95rem;border-bottom:0;padding-bottom:0}.contact-details a:hover{color:#e4bd98}.footer{display:flex;justify-content:space-between;padding:18px 6%;background:#292b22;color:#a79e8e;font-size:.65rem;letter-spacing:.08em;border-top:1px solid #ffffff1a}.footer p{margin:0}@media(min-width:1500px){.hero{height:880px}}@media(max-width:760px){.topbar{padding:22px 6%;align-items:flex-start;gap:16px}.wordmark{font-size:1.45rem}.top-contact{flex-direction:column;align-items:flex-end;gap:9px;font-size:.72rem}.hero{min-height:620px;height:88svh;background-position:60% center}.hero-content{margin:55px 6% 0}.hero h1{font-size:clamp(3rem,10vw,4.7rem)}.hero-bottom{left:6%;right:6%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);align-items:end;gap:14px;font-size:.5rem;line-height:1.65;letter-spacing:.12em}.hero-bottom span{min-width:0;display:block}.hero-bottom span:last-child{text-align:left}.hero-bottom .mobile-only-break{display:block}.essentials{padding:40px 4%;gap:10px}.essential p{font-size:.55rem;letter-spacing:.09em}.essential small{font-size:.68rem;line-height:1.5}.line-icon{font-size:1.8rem}.landscape,.life,.coverage{grid-template-columns:1fr}.landscape-photo{min-height:300px}.landscape-copy,.life-copy,.coverage-copy{padding:60px 8%}.landscape-copy h2,.life-copy h2,.coverage-copy h2{font-size:3.4rem}.life-photo{min-height:300px;grid-row:1}.coverage-art{min-height:240px}.sunset{min-height:250px;padding:28px 7%}.contact{align-items:flex-start;flex-direction:column;padding:40px 7%}.contact-details{gap:20px;flex-direction:column;align-items:flex-start}.footer{gap:12px;flex-direction:column;padding:20px 7%}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Contacte social: icones fines, discretes i accessibles */
.social-contact{gap:22px}.social-icon{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;flex:0 0 22px;border:0!important;padding:0!important}.social-icon svg{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.social-icon svg .icon-fill{fill:currentColor;stroke:none}.social-icon img{display:block;width:22px;height:22px;object-fit:contain;flex:0 0 22px}.social-icon:hover{opacity:.72}.contact-text{white-space:nowrap}@media(max-width:760px){.top-contact.social-contact{display:grid;grid-template-columns:22px auto;column-gap:12px;row-gap:10px;align-items:center}.top-contact .contact-text{font-size:.7rem;border:0;padding:0}.contact-details.social-contact{display:grid;grid-template-columns:24px auto;column-gap:14px;row-gap:18px;align-items:center}.contact-details .social-icon{width:24px;height:24px}.contact-details .contact-text{font-size:.9rem;border:0;padding:0}}

/* Peu legal */
.footer{align-items:center;gap:18px;flex-wrap:wrap}.footer-links{display:flex;flex-wrap:wrap;gap:10px 18px;justify-content:flex-end}.footer-links a{color:#c5bba9;border:0!important;text-decoration:none!important;padding-bottom:0}.footer-links a:hover{color:#f0d0ad}@media(max-width:760px){.footer-links{justify-content:flex-start;gap:12px 16px}.footer-links a{font-size:.68rem}}

/* v9: subtle analog texture overlay */
.hero:after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.10;background-image:url("data:image/svg+xml,%3Csvg viewBox=%270 0 180 180%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cfilter id=%27n%27%3E%3CfeTurbulence type=%27fractalNoise%27 baseFrequency=%27.82%27 numOctaves=%273%27 stitchTiles=%27stitch%27/%3E%3C/filter%3E%3Crect width=%27100%25%27 height=%27100%25%27 filter=%27url(%23n)%27 opacity=%27.28%27/%3E%3C/svg%3E");mix-blend-mode:soft-light}.landscape-photo,.life-photo,.sunset{position:relative}.landscape-photo:after,.life-photo:after,.sunset:after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.08;background-image:url("data:image/svg+xml,%3Csvg viewBox=%270 0 180 180%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cfilter id=%27n%27%3E%3CfeTurbulence type=%27fractalNoise%27 baseFrequency=%27.8%27 numOctaves=%273%27 stitchTiles=%27stitch%27/%3E%3C/filter%3E%3Crect width=%27100%25%27 height=%27100%25%27 filter=%27url(%23n)%27 opacity=%27.3%27/%3E%3C/svg%3E");mix-blend-mode:soft-light}

/* v10: contact and footer links never show underlines */
.footer a,.footer-links a,.contact a,.contact-details a,.top-contact a{ text-decoration:none!important; border-bottom:0!important; box-shadow:none!important; }
.footer a:hover,.footer-links a:hover,.contact a:hover,.contact-details a:hover,.top-contact a:hover{ text-decoration:none!important; border-bottom:0!important; }

/* Banda panoràmica amb fotografia analògica */
.photo-band{height:clamp(130px,18vw,260px);background:url('assets/panorama-final.jpg') center 52%/cover no-repeat;position:relative}.photo-band:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(36,31,25,.12),transparent 45%,rgba(36,31,25,.08))}@media(max-width:760px){.photo-band{height:150px}}


/* v12: correcció de la capçalera mòbil */
@media(max-width:760px){
  .topbar{padding:20px 6%;align-items:flex-start;gap:12px}
  .topbar > .wordmark{flex:0 0 auto}
  .top-contact.social-contact{display:grid;grid-template-columns:24px 24px;grid-auto-flow:row;justify-content:end;align-items:center;column-gap:12px;row-gap:9px;width:min(58%,230px);min-width:0}
  .top-contact .social-icon{grid-row:1;width:24px;height:24px}
  .top-contact .social-icon:nth-child(1){grid-column:1}
  .top-contact .social-icon:nth-child(2){grid-column:2}
  .top-contact .contact-text{grid-column:1 / -1;justify-self:end;max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:right;font-size:clamp(.62rem,2.8vw,.72rem);line-height:1.25}
}
@media(max-width:360px){
  .topbar{padding-left:5%;padding-right:5%;gap:8px}
  .wordmark{font-size:1.3rem}
  .top-contact.social-contact{column-gap:8px;width:61%}
}

/* v12: pàgines de contingut i retorn a la portada */
.page-shell{min-height:65vh;padding:clamp(5.5rem,10vw,8rem) max(7%,calc((100% - 850px)/2)) 5rem;background:var(--paper);}
.page-shell h1{font-family:var(--serif);font-weight:400;font-size:clamp(2.4rem,6vw,4.4rem);line-height:1.05;letter-spacing:-.035em;margin:0 0 2rem;}
.page-shell .entry-content{font-size:1rem;line-height:1.85;overflow-wrap:anywhere;}
.page-shell .entry-content h2,.page-shell .entry-content h3{font-family:var(--serif);font-weight:400;line-height:1.2;margin-top:2rem;}
.back-home{display:inline-block;margin:0 0 2rem;color:var(--olive);font-size:.9rem;border-bottom:1px solid currentColor;padding-bottom:3px;}
.back-home:hover{color:var(--rust)}
@media(max-width:760px){.page-shell{padding:5.5rem 7% 3.5rem}.page-shell h1{font-size:2.7rem}.page-shell .entry-content{font-size:.96rem}}


/* v13: assignem una fila diferent a telèfon i correu; abans compartien la mateixa cel·la de grid */
@media(max-width:760px){
  .top-contact.social-contact,
  .contact-details.social-contact{
    grid-auto-flow:row;
    grid-template-columns:24px minmax(0,1fr);
    justify-items:stretch;
    align-items:center;
  }
  .top-contact.social-contact > .social-icon:nth-child(1),
  .contact-details.social-contact > .social-icon:nth-child(1){grid-column:1;grid-row:1;}
  .top-contact.social-contact > .social-icon:nth-child(2),
  .contact-details.social-contact > .social-icon:nth-child(2){grid-column:2;grid-row:1;}
  .top-contact.social-contact > .contact-text:nth-child(3),
  .contact-details.social-contact > .contact-text:nth-child(3){grid-column:1 / -1;grid-row:2;justify-self:end;}
  .top-contact.social-contact > .contact-text:nth-child(4),
  .contact-details.social-contact > .contact-text:nth-child(4){grid-column:1 / -1;grid-row:3;justify-self:end;}
  .contact-details.social-contact > .contact-text:nth-child(3),
  .contact-details.social-contact > .contact-text:nth-child(4){justify-self:start;}
  .top-contact.social-contact .contact-text,
  .contact-details.social-contact .contact-text{
    display:block;width:100%;max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.35;
  }
}


/* v15: icones socials coherents i text inferior de portada segur en mòbil */
.social-icon{width:22px;height:22px;flex:0 0 22px}
.social-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.social-icon svg .icon-fill{fill:currentColor;stroke:none}
.social-icon img{display:none}
@media(max-width:760px){
  .hero-bottom{grid-template-columns:minmax(0,1fr);gap:9px;left:7%;right:7%;font-size:.58rem;line-height:1.55;letter-spacing:.14em}
  .hero-bottom span{max-width:100%;text-align:left;overflow-wrap:normal}
  .hero-bottom span:last-child{max-width:100%;text-align:left}
  .hero-bottom .mobile-only-break{display:none}
}


/* v20: icones de beneficis amb mides coherents i textos alineats */
.essentials{align-items:start}
.essential{min-width:0;display:flex;align-items:center;text-align:center}
.line-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;flex:0 0 40px;font-size:0;line-height:1;color:var(--olive)}
.line-icon svg{display:block;width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.essential p{min-height:4.8em;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:6px}
.essential small{display:block;line-height:1.5;max-width:22ch}
@media(max-width:760px){.essentials{align-items:start}.line-icon{width:36px;height:36px;flex-basis:36px}.line-icon svg{width:30px;height:30px}.essential p{min-height:5.4em;font-size:.55rem;line-height:1.65}.essential small{font-size:.68rem;line-height:1.45;max-width:18ch}}
