:root{
  --wood:#4a210e;
  --wood-2:#7a3d18;
  --wood-3:#b3743d;
  --sand:#f4eee6;
  --paper:#fffaf4;
  --ink:#211510;
  --muted:#6f6259;
  --line:#d9c9b8;
  --white:#fff;
  --shadow:0 22px 55px rgba(74,33,14,.15);
  --radius:26px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color:var(--ink);
  background:var(--paper);
  line-height:1.55;
}
body.menu-open{overflow:hidden}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button,input,textarea{font:inherit}
::selection{background:var(--wood-3);color:white}

.container{
  width:min(1160px, calc(100% - 40px));
  margin-inline:auto;
}

.site-header{
  position:fixed;
  inset:0 0 auto;
  z-index:60;
  transition:background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.site-header.is-scrolled{
  background:rgba(255,250,244,.88);
  backdrop-filter:blur(18px);
  box-shadow:0 8px 30px rgba(74,33,14,.08);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:18px 0;
}
.brand img{width:210px;height:auto}
.nav{
  display:flex;
  align-items:center;
  gap:24px;
  font-size:.93rem;
  color:var(--wood);
  font-weight:700;
}
.nav a{opacity:.9}
.nav a:hover{opacity:1}
.lang-switch{
  display:flex;
  gap:6px;
  padding:5px;
  background:rgba(74,33,14,.08);
  border-radius:999px;
}
.lang-btn{
  border:0;
  background:transparent;
  color:var(--wood);
  padding:7px 11px;
  border-radius:999px;
  cursor:pointer;
  font-size:.82rem;
  font-weight:800;
  letter-spacing:.04em;
}
.lang-btn.active{
  background:var(--wood);
  color:white;
}
.mobile-menu{
  display:none;
  border:0;
  width:44px;
  height:44px;
  border-radius:50%;
  background:var(--wood);
  color:white;
  cursor:pointer;
}
.mobile-menu span{
  display:block;
  width:18px;
  height:2px;
  margin:4px auto;
  background:white;
}

.hero{
  min-height:100svh;
  display:grid;
  align-items:center;
  padding:120px 0 70px;
  overflow:hidden;
  position:relative;
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 20% 15%, rgba(179,116,61,.13), transparent 32%),
    linear-gradient(90deg, rgba(255,250,244,.97) 0 42%, rgba(255,250,244,.85) 49%, rgba(255,250,244,.08) 68%, rgba(255,250,244,0) 100%);
  z-index:1;
}
.hero-bg{
  position:absolute;
  inset:0;
  overflow:hidden;
}
.hero-bg img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:72% center;
}
.hero-content{
  position:relative;
  z-index:2;
  width:min(620px, 100%);
}
.kicker{
  color:var(--wood-3);
  font-weight:900;
  letter-spacing:.18em;
  text-transform:uppercase;
  font-size:.84rem;
  margin:0 0 16px;
}
h1,h2,h3{
  margin:0;
  color:var(--wood);
  letter-spacing:-.02em;
}
.hero h1{
  font-family:Georgia, "Times New Roman", serif;
  font-size:clamp(3.1rem, 8vw, 4.8rem);
  line-height:.92;
  max-width:770px;
  text-transform:uppercase;
}
.hero p{
  max-width:520px;
  margin:28px 0 0;
  font-size:1.12rem;
  color:#3b2b24;
}
.hero-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:34px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius:999px;
  padding:15px 22px;
  font-weight:850;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
  border:1px solid transparent;
}
.btn:hover{transform:translateY(-2px)}
.btn-primary{
  background:var(--wood);
  color:white;
  box-shadow:0 12px 24px rgba(74,33,14,.22);
}
.btn-primary:hover{background:#351708}
.btn-secondary{
  background:rgba(255,250,244,.78);
  color:var(--wood);
  border-color:rgba(74,33,14,.18);
}
.hero-card{
  margin-top:34px;
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
  max-width:560px;
  display:none;
}
.mini-stat{
  background:rgba(255,250,244,.82);
  border:1px solid rgba(74,33,14,.12);
  border-radius:18px;
  padding:16px;
}
.mini-stat strong{
  display:block;
  color:var(--wood);
  font-size:1.2rem;
}
.mini-stat span{
  display:block;
  color:var(--muted);
  font-size:.86rem;
}

.section{
  padding:92px 0;
}
.section-light{background:white}
.section-sand{background:var(--sand)}
.section-head{
  display:flex;
  justify-content:space-between;
  gap:40px;
  align-items:flex-end;
  margin-bottom:42px;
}
.section-head h2{
  font-family:Georgia, "Times New Roman", serif;
  font-size:clamp(2.3rem, 5vw, 4.4rem);
  line-height:1;
  text-transform:uppercase;
}
.section-head p{
  max-width:520px;
  color:var(--muted);
  margin:0;
}

.services-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:16px;
}
.service-card{
  background:white;
  border:1px solid rgba(74,33,14,.12);
  border-radius:var(--radius);
  padding:24px;
  min-height:230px;
  box-shadow:0 12px 30px rgba(74,33,14,.05);
  transition:transform .2s ease, box-shadow .2s ease;
}
.service-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow);
}
.icon{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:rgba(179,116,61,.12);
  color:var(--wood);
  margin-bottom:18px;
}
.icon svg{
  width:30px;
  height:30px;
  stroke:currentColor;
  fill:none;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.service-card h3{
  font-size:1.14rem;
  margin-bottom:10px;
}
.service-card p{
  margin:0;
  color:var(--muted);
  font-size:.95rem;
}

.split{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:54px;
  align-items:center;
}
.photo-stack{
  position:relative;
}
.photo-main{
  border-radius:34px;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.photo-main img{
  width:100%;
  aspect-ratio:4/5;
  object-fit:cover;
}
.floating-note{
  position:absolute;
  right:-20px;
  bottom:36px;
  width:min(300px, 78%);
  padding:22px;
  background:white;
  border:1px solid rgba(74,33,14,.12);
  border-radius:24px;
  box-shadow:var(--shadow);
}
.floating-note strong{
  display:block;
  color:var(--wood);
  font-size:1.05rem;
  margin-bottom:5px;
}
.floating-note span{color:var(--muted);font-size:.94rem}
.check-list{
  list-style:none;
  padding:0;
  margin:26px 0 0;
  display:grid;
  gap:14px;
}
.check-list li{
  display:flex;
  gap:12px;
  align-items:flex-start;
  color:#3b2b24;
}
.check-list li::before{
  content:"";
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--wood-3);
  margin-top:.55em;
  flex:0 0 auto;
}

.process{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  counter-reset:step;
}
.process-card{
  counter-increment:step;
  background:var(--paper);
  border:1px solid rgba(74,33,14,.12);
  border-radius:var(--radius);
  padding:24px;
}
.process-card::before{
  content:"0" counter(step);
  display:inline-grid;
  place-items:center;
  width:48px;
  height:48px;
  border-radius:50%;
  background:var(--wood);
  color:white;
  font-weight:900;
  margin-bottom:18px;
}
.process-card h3{font-size:1.08rem;margin-bottom:8px}
.process-card p{margin:0;color:var(--muted);font-size:.95rem}

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.gallery-card{
  position:relative;
  min-height:360px;
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:0 12px 30px rgba(74,33,14,.08);
}
.gallery-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  position:absolute;
  inset:0;
}
.gallery-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, transparent 35%, rgba(32,16,8,.72));
}
.gallery-card span{
  position:absolute;
  z-index:2;
  left:20px;
  right:20px;
  bottom:18px;
  color:white;
  font-weight:900;
  font-size:1.05rem;
}

.cta{
  position:relative;
  overflow:hidden;
  color:white;
  background:
    radial-gradient(circle at 80% 20%, rgba(179,116,61,.26), transparent 35%),
    linear-gradient(135deg, #2f1306, #6b3315);
}
.cta .section-head h2,
.cta .kicker{color:white}
.cta .section-head p{color:rgba(255,255,255,.8)}
.cta .btn-primary{
  background:white;
  color:var(--wood);
}
.cta .btn-secondary{
  background:transparent;
  color:white;
  border-color:rgba(255,255,255,.35);
}

.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
}
.contact-card{
  background:white;
  border:1px solid rgba(74,33,14,.12);
  border-radius:var(--radius);
  padding:28px;
  box-shadow:0 12px 30px rgba(74,33,14,.05);
}
.contact-card h3{margin-bottom:18px}
.contact-lines{
  display:grid;
  gap:12px;
  color:#3b2b24;
}
.contact-line{
  display:flex;
  gap:12px;
  align-items:flex-start;
}
.contact-line b{
  color:var(--wood);
}
.form{
  display:grid;
  gap:12px;
}
.form label{
  display:grid;
  gap:7px;
  font-weight:800;
  color:var(--wood);
  font-size:.9rem;
}
.form input,.form textarea{
  width:100%;
  border:1px solid rgba(74,33,14,.18);
  border-radius:14px;
  padding:13px 14px;
  background:#fffdf9;
  color:var(--ink);
}
.form textarea{min-height:125px;resize:vertical}
.form small{color:var(--muted)}

.site-footer{
  padding:38px 0;
  background:#160b06;
  color:white;
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:28px;
  align-items:center;
}
.footer-inner img{width:190px}
.footer-inner p{margin:0;color:rgba(255,255,255,.7)}

body[data-lang="es"] .ca { display: none !important; }
body[data-lang="ca"] .es { display: none !important; }

@media (max-width:980px){
  .services-grid,.gallery-grid,.process{grid-template-columns:repeat(2,1fr)}
  .split{grid-template-columns:1fr}
  .section-head{display:block}
  .section-head p{margin-top:16px}
  .contact-grid{grid-template-columns:1fr}
}
@media (max-width:760px){
  .container{width:min(100% - 28px, 1160px)}
  .nav{
    position:fixed;
    inset:78px 14px auto;
    display:none;
    flex-direction:column;
    align-items:stretch;
    padding:20px;
    background:rgba(255,250,244,.96);
    backdrop-filter:blur(18px);
    border-radius:24px;
    border:1px solid rgba(74,33,14,.12);
    box-shadow:var(--shadow);
  }
  body.menu-open .nav{display:flex}
  .mobile-menu{display:block}
  .brand img{width:170px}
  .hero{padding-top:108px}
  .hero::before{
    background:linear-gradient(90deg, rgba(255,250,244,.98) 0 62%, rgba(255,250,244,.72) 100%);
  }
  .hero-bg img{
    opacity:.26;
    object-position:68% center;
  }
  .hero h1{font-size:clamp(2.65rem, 12vw, 4.5rem); font-size: 9vw}
  .hero-card{grid-template-columns:1fr;}
  .services-grid,.gallery-grid,.process{grid-template-columns:1fr}
  .gallery-card{min-height:300px}
  .floating-note{position:static;width:auto;margin-top:16px}
  .footer-inner{display:block}
  .footer-inner p{margin-top:18px}
}
