@import url('https://fonts.googleapis.com/css2?family=Questrial&family=Raleway:wght@300;400;500&display=swap');
:root{
  --bg:#f6f6f4;
  --white:#fbfbfa;
  --soft:#dfe8e5;
  --line:#8ea09d;
  --text:#5f6869;
  --muted:#93a0a0;
  --footer:#414948;
  --max:1440px;
  --content:1180px;
}

/* BASE */
*{
  box-sizing:border-box;
}

html{
  height:100%;
  scroll-behavior:smooth;
}

body{
  margin:0;
  min-height:100%;
  display:flex;
  flex-direction:column;
  background:var(--bg);
  color:var(--text);
  font-family:'Questrial','Helvetica Neue',Arial,sans-serif;
  line-height:1.7;
  font-style:normal;
}

main{
  flex:1;
}

img{
  display:block;
  max-width:100%;
}

a{
  color:inherit;
  text-decoration:none;
}

h1,h2,h3{
  margin:0;
  font-family:'Raleway', 'Questrial',sans-serif;
  font-weight:300;
  font-style:normal;
  letter-spacing:0;
}

/* HEADER */
.site-header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:30;
  background:rgba(246,246,244,.9);
  border-bottom:1px solid rgba(127,145,141,.18);
  backdrop-filter:blur(6px);
}

.header-inner{
  max-width:var(--max);
  margin:0 auto;
  min-height:86px;
  padding:0 48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}

.brand{
  font-size:20px;
  color:var(--muted);
  white-space:nowrap;
}

.main-nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:34px;
  flex-wrap:nowrap;
}

.main-nav a{
  font-size:18px;
  color:#6f7677;
  transition:color .2s ease;
}

.main-nav a:hover,
.main-nav a.active{
  color:#a8bcbc;
}

.lang-switch{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-left:2px;
}

.lang-switch a,
.lang-switch a.active{
  color:#9cb1ae;
}

.nav-toggle{
  display:none;
  width:44px;
  height:44px;
  border:1px solid rgba(127,145,141,.35);
  background:transparent;
  padding:10px;
  cursor:pointer;
}

.nav-toggle span{
  display:block;
  width:100%;
  height:2px;
  margin:5px 0;
  background:#6f7677;
  transition:transform .2s ease, opacity .2s ease;
}

.nav-toggle.is-open span:nth-child(1){
  transform:translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2){
  opacity:0;
}

.nav-toggle.is-open span:nth-child(3){
  transform:translateY(-7px) rotate(-45deg);
}

/* INTRO COMÚ DE PÀGINA */
.about-page,
.areas-page,
.services-page,
.services-alt-page,
.page-shell{
  padding-top:86px;
}

.about-intro,
.page-intro{
  background:var(--bg);
  padding:54px 0 48px;
}

.about-intro-inner,
.page-intro-inner{
  max-width:var(--content);
  margin:0 auto;
  padding:0 48px;
}

.page-title,
.services-hero-title{
  margin:0;
  font-size:clamp(58px,6vw,74px);
  line-height:1;
  color:#53595a;
}

/* ELEMENTS COMUNS */
.title-line{
  width:60px;
  height:2px;
  background:var(--line);
}

.copc-link{
  text-decoration:underline;
}

/* HOME */
.hero{
  min-height:720px;
  display:grid;
  grid-template-columns:1fr 1fr;
  padding-top:86px;
}

.hero-media{
  min-height:calc(100vh - 86px);
}

.hero-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.hero-copy{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:60px 70px 60px 80px;
}

.hero-copy-inner{
  max-width:520px;
}

.hero-copy h1{
  font-size:clamp(64px,8vw,110px);
  line-height:.92;
  color:#53595a;
}

.role{
  display:flex;
  align-items:center;
  gap:22px;
  margin:28px 0 42px;
  font-size:25px;
  color:#9ca6a6;
}

.role::before{
  content:'';
  width:66px;
  height:2px;
  background:#adc0bd;
}

.lead{
  max-width:500px;
  margin-top:22px;
  font-size:21px;
  line-height:1.8;
  color: #9ca1a3;
 }

.section{
  display:grid;
  grid-template-columns:1.05fr 1fr;
  min-height:420px;
  border-top:1px solid rgba(127,145,141,.65);
}

.section.soft{
  background:var(--soft);
}

.section.white{
  background:var(--white);
}

.section-title-wrap{
  padding:76px 48px 70px 96px;
}

.section-title{
  margin-bottom:18px;
  font-size:28px;
  color:#6e7778;
}

.section-content{
  max-width:620px;
  padding:72px 96px 72px 48px;
}

.section-content p{
  margin:0 0 28px;
  font-size:20px;
  color:#6d7577;
}

.button-line{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:196px;
  min-height:44px;
  padding:10px 18px;
  background:#aabcbc;
  border:1px solid #aabcbc;
  color:#fff;
  font-size:17px;
}

/* TESTIMONIS */
.testimonials-section{
  background:var(--bg);
}

.testimonials-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:1px solid rgba(127,145,141,.65);
  border-bottom:1px solid rgba(127,145,141,.65);
}

.testimonial-card{
  min-height:480px;
  padding:72px 48px 64px;
  text-align:center;
}

.testimonial-card + .testimonial-card{
  border-left:1px solid rgba(127,145,141,.65);
}

.testimonial-mark{
  margin-bottom:36px;
  font-size:120px;
  line-height:.8;
  color:#aabcbc;
}

.testimonial-card h3{
  margin:0 0 22px;
  font-size:28px;
  color:#5c6667;
}

.testimonial-card p{
  max-width:330px;
  margin:0 auto;
  font-size:19px;
  line-height:1.9;
  color:#768082;
}

/* SOBRE MI */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.about-photo {
  width: 100%;
  height: auto;
  display: block;
}

.about-intro-copy {
  max-width: 600px;
}
.about-intro-copy p,
.about-method-copy p{
  margin:0 0 18px;
  font-size:18px;
  line-height:1.7;
  color:#768082;
}

.about-intro-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
}

.about-quote-band{
  padding:92px 20px 96px;
  background:#dbe6e3;
  text-align:center;
}

.about-quote-inner{
  max-width:980px;
  margin:0 auto;
}

.about-quote-band p{
  margin:0;
  font-size:clamp(26px,3vw,36px);
  line-height:1.55;
  color:#748081;
}

.about-method{
  background:var(--bg);
  border-top:1px solid rgba(127,145,141,.65);
}

.about-method-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
}

.about-method-title,
.about-method-copy{
  padding:72px 56px;
}

.about-method-title{
  display:flex;
  align-items:flex-start;
  justify-content:center;
}

.about-method-title h2{
  width:100%;
  max-width:190px;
  font-size:28px;
  line-height:1.45;
  color:#6f7a7c;
}

.about-method-copy{
  max-width:620px;
  padding-left:40px;
  border-left:1px solid rgba(127,145,141,.65);
}

/* CONTACTE */
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:start;
  background:var(--bg);
  max-width:1100px;
  margin:0 auto;
  padding:0 20px 40px;
}

.contact-image{
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
  padding:0;
}

.contact-image img{
  width:100%;
  max-width:560px;
  height:auto;
  display:block;
  margin:0;
}

.contact-copy{
  padding:0 0 0 56px;
}

.contact-copy p,
.contact-copy a{
  font-size:19px;
  color:#6f7679;
}

.contact-lines{
  margin:0 0 26px;
}

.contact-info{
  margin:18px 0 30px;
}

.contact-item{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:8px;
  font-size:18px;
  color:#6f7679;
}

.contact-icon{
  font-size:16px;
  color:#8fa3a0;
  opacity:.9;
}

.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.input,
.textarea{
  width:100%;
  padding:16px 18px;
  border:0;
  border-radius:0;
  background:#fbfbfb;
  color:#677071;
  font:inherit;
  appearance:none;
}

.input::placeholder,
.textarea::placeholder{
  color:#a3a7a8;
}

.textarea{
  grid-column:1 / -1;
  min-height:150px;
  resize:vertical;
}

.submit-bar{
  width:100%;
  margin-top:14px;
  padding:16px;
  background:#8fa3a0;
  border:none;
  color:#fff;
  font-size:14px;
  letter-spacing:1px;
  cursor:pointer;
}

.submit-bar:hover{
  background:#7c918e;
}

/* ÀREES */
.areas-layout{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:stretch;
  min-height:700px;
  background:var(--bg);
}

.areas-photo{
  min-height:100%;
}

.areas-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.areas-content{
  max-width:620px;
  padding:70px 90px 80px 70px;
}

.area-block{
  margin-bottom:48px;
}

.area-block:last-child{
  margin-bottom:0;
}

.area-block h3{
  font-size:26px;
  color:#7b8585;
}

.area-block .title-line{
  margin:16px 0 22px;
  background:#9fb1ae;
}

.area-block p{
  margin:0 0 18px;
  font-size:18px;
  line-height:1.75;
  color:#7f8889;
}

/* SERVEIS */
.services-page .page-title,
.services-alt-page .page-title{
  margin-bottom:0;
}

.service-split{
  display:grid;
  grid-template-columns:1fr 1fr;
  min-height:520px;
  border-top:1px solid rgba(127,145,141,.65);
}

.service-split-media{
  min-height:100%;
}

.service-split-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.service-split-copy{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:56px;
  background:var(--bg);
}

.service-split-inner{
  width:100%;
  max-width:480px;
  text-align:left;
}

.service-split-inner h2{
  margin:0 0 28px;
  font-size:clamp(34px,4vw,46px);
  line-height:1.25;
  color:#7c8687;
}

.service-split-inner p{
  margin:0 0 18px;
  font-size:18px;
  line-height:1.85;
  color:#7d8788;
}

.service-split-inner p:last-child{
  margin-bottom:0;
}

.service-split.reverse .service-split-media{
  order:2;
}

.service-split.reverse .service-split-copy{
  order:1;
}

/* AVÍS LEGAL */
.legal-section{
  max-width:1100px;
  margin:0 auto;
  padding:40px 20px 80px;
}

.legal-block{
  max-width:760px;
}

.legal-block h3{
  margin-bottom:10px;
}

.legal-block p{
  margin-bottom:14px;
  line-height:1.6;
}

/* RESSENYES EXTERNES */
.reviews-split-section{
  background:#f7f5f2;
  border-top:1px solid rgba(127,145,141,.45);
}

.reviews-split-grid{
  display:grid;
  grid-template-columns:1fr 1.35fr;
  max-width:1400px;
  margin:0 auto;
}

.reviews-split-left{
  padding:56px 56px 64px;
  border-right:1px solid rgba(127,145,141,.45);
}

.reviews-split-left h2{
  max-width:260px;
  margin:0 0 24px;
  font-size:3rem;
  line-height:1.15;
  font-weight:400;
  color:#5c6d6a;
}

.reviews-split-left p{
  max-width:340px;
  margin:0;
  font-size:1.05rem;
  line-height:1.9;
  color:#5f6f6c;
}

.reviews-split-right{
  display:flex;
  flex-direction:column;
  gap:34px;
  padding:56px 56px 64px;
}

.reviews-item h3{
  margin:0 0 10px;
  font-size:1.7rem;
  font-weight:400;
  color:#5c6d6a;
}

.reviews-item p{
  max-width:620px;
  margin:0 0 14px;
  font-size:1.05rem;
  line-height:1.9;
  color:#5f6f6c;
}

.reviews-item a{
  display:inline-block;
  padding-bottom:3px;
  border-bottom:1px solid #7f918d;
  font-size:.95rem;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#5c6d6a;
}

.reviews-item a:hover{
  opacity:.75;
}

/* FOOTER */
.site-footer{
  margin-top:0;
}

.footer-bottom{
  padding:14px;
  background:var(--footer);
  color:#fff;
  text-align:center;
  font-size:13px;
  letter-spacing:.5px;
}

/* TABLET */
@media (max-width:1080px){
  .header-inner{
    min-height:74px;
    padding:0 24px;
  }

  .main-nav{
    gap:22px;
  }

  .page-title{
    font-size:clamp(36px,10vw,48px);
    line-height:1.2;
    word-break:normal;
    overflow-wrap:break-word;
  }

  .hero,
  .section,
  .contact-grid,
  .about-intro-grid,
  .about-method-grid,
  .service-split,
  .areas-layout{
    grid-template-columns:1fr;
  }

  .hero{
    min-height:auto;
  }

  .hero-media{
    min-height:55vh;
  }

  .hero-copy,
  .section-title-wrap,
  .section-content{
    padding:48px 24px;
  }

  .hero-copy h1{
    font-size:clamp(52px,12vw,84px);
  }

  .lead,
  .section-content p,
  .contact-copy p,
  .contact-copy a{
    font-size:18px;
  }

  .about-method-copy{
    max-width:none;
    padding-left:56px;
    border-left:0;
    border-top:1px solid rgba(127,145,141,.65);
  }

  .testimonials-grid{
    grid-template-columns:1fr;
  }

  .testimonial-card{
    min-height:auto;
  }

  .testimonial-card + .testimonial-card{
    border-top:1px solid rgba(127,145,141,.65);
    border-left:0;
  }

  .service-split.reverse .service-split-media,
  .service-split.reverse .service-split-copy{
    order:initial;
  }

  .service-split-media{
    min-height:340px;
  }

  .service-split-copy{
    padding:46px 24px;
  }

  .service-split-inner{
    max-width:680px;
  }

  .areas-layout{
    min-height:auto;
  }

  .areas-photo{
    min-height:340px;
  }

  .areas-content{
    max-width:none;
    padding:46px 24px 56px;
  }
}

/* MÒBIL */
@media (max-width:900px){
  .reviews-split-grid{
    grid-template-columns:1fr;
  }

  .reviews-split-left{
    padding:42px 24px 34px;
    border-right:none;
    border-bottom:1px solid rgba(127,145,141,.45);
  }

  .reviews-split-right{
    padding:34px 24px 42px;
    gap:28px;
  }

  .reviews-split-left h2{
    max-width:none;
    font-size:2.3rem;
  }

  .reviews-split-left p,
  .reviews-item p{
    max-width:none;
  }
}

@media (max-width:720px){
  .site-header{
    position:sticky;
    top:0;
  }

  .header-inner{
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    min-height:auto;
    padding:14px 18px;
  }

  .nav-toggle{
    display:block;
    flex:0 0 auto;
  }

  .main-nav{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    padding:14px 18px 18px;
    background:rgba(246,246,244,.98);
    border-bottom:1px solid rgba(127,145,141,.18);
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
    gap:14px;
  }

  .main-nav.is-open{
    display:flex;
  }

  .main-nav a{
    font-size:18px;
  }

  .lang-switch{
    margin-left:0;
    gap:14px;
  }

  .about-page,
  .areas-page,
  .services-page,
  .services-alt-page,
  .page-shell{
    padding-top:92px;
  }

  .about-intro,
  .page-intro{
    padding:0 0 24px;
  }
  
  .about-intro-grid {
    grid-template-columns: 1fr;
  }

  .about-intro-inner,
  .page-intro-inner{
    padding:0 22px;
  }

  .page-title,
  .services-hero-title{
    margin:0 0 24px;
    font-size:clamp(42px,14vw,60px);
    text-align:left;
  }

  .hero{
    display:flex;
    flex-direction:column;
    padding-top:0;
  }

  .hero-copy{
    order:1;
    padding:22px 22px 28px;
  }

  .hero-media{
    order:2;
    min-height:34vh;
  }

  .lead{
    font-size:17px;
    line-height:1.8;
  }

  .role{
    font-size:21px;
  }

  .section-title-wrap,
  .section-content{
    padding:34px 22px;
  }

  .about-intro-grid{
    gap:24px;
    margin-top:18px;
  }

  .about-method-title,
  .about-method-copy{
    padding:48px 22px;
  }

  .about-method-copy{
    padding-left:22px;
  }

  .about-quote-band{
    padding:68px 18px 74px;
  }

  .about-quote-band p{
    font-size:24px;
  }
  
  /* pagina contacte */
  .contact-page .about-intro{
    padding:54px 0 18px;
  }

  .contact-page .about-intro-inner{
    padding-bottom:0;
  }

  .contact-page .contact-grid{
    padding-top:0;
  }  

  .contact-grid{
    grid-template-columns:1fr;
  }

  .contact-copy{
    order:1;
    padding:18px 22px 28px;
  }

  .contact-image{
    order:2;
    padding:10px 22px 0;
  }

  .contact-image img{
    max-width:360px;
  }

  .contact-lines{
    margin:0 0 18px;
  }

  .form-grid{
    grid-template-columns:1fr;
  }

  .areas-photo{
    order:2;
    min-height:250px;
  }

  .areas-content{
    order:1;
    max-width:none;
    padding:0 22px 34px;
  }

  .area-block{
    margin-bottom:42px;
  }

  .area-block h3{
    font-size:22px;
  }

  .area-block p{
    font-size:16px;
    line-height:1.7;
  }

  .service-split-copy{
    padding:28px 22px;
  }

  .service-split-media{
    min-height:250px;
  }

  .service-split-inner{
    max-width:none;
  }

  .service-split-inner h2{
    font-size:30px;
  }

  .service-split-inner p{
    font-size:16px;
    line-height:1.75;
  }
}

/*** blogs **/ 
.blog-list-inner{
  max-width:1100px;
  margin:0 auto;
  padding:40px 20px;
}

.blog-card{
  max-width:700px;
  margin-bottom:40px;
}

.blog-card h2{
  font-size:26px;
  margin-bottom:10px;
}

.blog-card p{
  color:#6f7679;
  margin-bottom:10px;
}

.blog-card a{
  text-decoration:none;
  color:#8fa3a0;
}

/** article **/
.post-header{
  background:var(--bg);
  padding:120px 0 24px;
}

.post-header-inner,
.post-content-inner{
  max-width:1000px;
  margin:0 auto;
  padding:0 20px;
}

.post-title{
  margin:0;
  font-size:clamp(36px,5vw,60px);
  line-height:1.05;
  color:#53595a;
  font-family:'Raleway','Questrial',sans-serif;
  font-weight:300;
  word-break:normal;
  overflow-wrap:break-word;
}

.post-meta{
  margin:18px 0 0;
  font-size:14px;
  color:#9aa3a5;
}

.post-content{
  background:var(--bg);
  padding:12px 0 80px;
}

.post-body{
  max-width:none;
}

.post-body h2{
  margin:34px 0 12px;
  font-size:32px;
  line-height:1.25;
  color:#6f7679;
  font-family:'Raleway','Questrial',sans-serif;
  font-weight:300;
}

.post-body p{
  margin:0 0 18px;
  font-size:18px;
  line-height:1.8;
  color:#6f7679;
}

.post-cta{
  margin-top:40px;
  padding-top:22px;
  border-top:1px solid rgba(127,145,141,.25);
}

.post-cta p{
  margin-bottom:10px;
}

.post-cta a{
  color:#8fa3a0;
  text-decoration:none;
}

.post-references{
  margin-top:40px;
}

.post-references h3{
  margin:0 0 12px;
  font-size:20px;
  color:#5f6869;
  font-family:'Raleway','Questrial',sans-serif;
  font-weight:300;
}

.post-references ul{
  margin:0;
  padding-left:20px;
}

.post-references li{
  margin-bottom:8px;
  font-size:15px;
  line-height:1.7;
  color:#7c8587;
}

@media (max-width:720px){
  .post-header{
    padding:92px 0 18px;
  }

  .post-header-inner,
  .post-content-inner{
    padding:0 22px;
  }

  .post-title{
    font-size:clamp(34px,11vw,48px);
    line-height:1.08;
  }

  .post-body h2{
    font-size:26px;
  }

  .post-body p{
    font-size:16px;
    line-height:1.75;
  }
}

.post-back{
  margin-bottom:20px;
}

.post-back a{
  font-size:14px;
  color:#8fa3a0;
  text-decoration:none;
}

.post-back a:hover{
  text-decoration:underline;
}

