/* ═══════════════════════════════════════════════════════════════
   PROU — Full d'estils
   Disseny basat en les maquetes de referència
   ═══════════════════════════════════════════════════════════════ */


/* ─── VARIABLES ─────────────────────────────────────────────── */

:root {
  --bg:       #f5f1ea;   /* Cru càlid */
  --primary:  #d4553a;   /* Terracota */
  --accent:   #e8896a;   /* Terracota clar (targetes) */
  --text:     #1e1e1e;
  --text-mid: #444;
  --sage:     #5f7a50;   /* Verd oliva — color diferenciador BROT */
}


/* ─── RESET ──────────────────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

::selection {
  background: var(--primary);
  color: #fff;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Epilogue', sans-serif;
  line-height: 1.65;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  opacity: 0.75;
}

h1, h2, h3 {
  font-family: 'Dela Gothic One', sans-serif;
  font-weight: 400;
  line-height: 1.05;
}


/* ─── UTILITATS ──────────────────────────────────────────────── */

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-title {
  font-family: 'Dela Gothic One', sans-serif;
  font-size: clamp(48px, 7vw, 88px);
  color: var(--primary);
  letter-spacing: -2px;
  margin-bottom: 8px;
  line-height: 0.95;
}

/* Botó pill */
.btn-pill {
  display: inline-block;
  padding: 14px 28px;
  background: var(--primary);
  color: #fff;
  font-family: 'Epilogue', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-pill:hover {
  background: #b8422a;
  opacity: 1;
  transform: translateY(-1px);
}


/* ─── HEADER ─────────────────────────────────────────────────── */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 0 40px;
  height: 56px;
  display: flex;
  align-items: center;
  /* Transparent per defecte — es veu sobre el hero terracota */
}

.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Dela Gothic One', sans-serif;
  font-size: 18px;
  color: #fff;
  letter-spacing: 1px;
}

nav {
  display: flex;
  gap: 32px;
}

nav a {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.3px;
  transition: color 0.2s ease;
}

nav a:hover {
  color: #fff;
  opacity: 1;
}

/* Quan la pàgina fa scroll, el header canvia de fons */
header.scrolled {
  background: rgba(245, 241, 234, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

header.scrolled .logo {
  color: var(--text);
}

header.scrolled nav a {
  color: #555;
}

header.scrolled nav a:hover {
  color: var(--text);
}

header.scrolled nav a.active {
  color: var(--sage);
}


/* ─── HERO ───────────────────────────────────────────────────── */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100vh;
  min-height: 500px;
}

/* Panell esquerre: fons terracota */
.hero-left {
  background: linear-gradient(160deg, #c4492e 0%, var(--primary) 60%);
  display: flex;
  align-items: center;
  padding: 80px 60px;
}

.hero-text h1 {
  font-size: clamp(72px, 12vw, 160px);
  color: #fff;
  letter-spacing: -2px;
  line-height: 0.9;
  margin-bottom: 24px;
}

.hero-tagline {
  font-family: 'Dela Gothic One', sans-serif;
  font-size: clamp(22px, 3.5vw, 38px);
  color: rgba(255,255,255,0.92);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-sub {
  font-size: clamp(14px, 1.6vw, 17px);
  color: rgba(255,255,255,0.85);
  font-weight: 400;
  line-height: 1.6;
}

/* Panell dret: foto emmarcada amb fons terracota */
.hero-right {
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 48px 48px 24px;
  overflow: hidden;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05);
  transition: transform 8s ease;
}

.hero-right:hover img {
  transform: scale(1.04);
}



/* CTA i fletxa del hero */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
}

.btn-hero {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.6);
}

.btn-hero:hover {
  background: rgba(255,255,255,0.15);
  opacity: 1;
  transform: translateY(-1px);
}

.hero-scroll {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  color: #fff;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease;
  animation: bounce 2.4s ease-in-out infinite;
}

.hero-scroll:hover {
  opacity: 1;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* ─── CONTEXT / STATS ────────────────────────────────────────── */

.context-section {
  padding: 48px 0 56px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Targeta */
.stat-card {
  background: #dfa882;   /* Salmó càlid */
  padding: 48px 40px 40px;
  display: flex;
  flex-direction: column;
  min-height: 380px;
}

.stat-number {
  font-family: 'Dela Gothic One', sans-serif;
  font-size: clamp(64px, 9vw, 100px);
  color: var(--primary);
  line-height: 1;
  margin-bottom: 20px;
}

.stat-text {
  font-size: 17px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.45;
  flex: 1;
}

.stat-source {
  display: block;
  margin-top: 24px;
  font-size: 12px;
  color: rgba(180, 70, 40, 0.7);
  line-height: 1.5;
}


/* ─── SERVEIS ────────────────────────────────────────────────── */

.services-section {
  padding: 48px 0 56px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

/* Imatge */
.service-image {
  width: 100%;
  height: 260px;
  overflow: hidden;
  margin-bottom: 20px;
}

.service-image img {
  transition: transform 0.5s ease;
  filter: saturate(1.1);
}

.service:hover .service-image img {
  transform: scale(1.05);
}

/* Targeta de servei: alçada igual per totes */
.service {
  display: flex;
  flex-direction: column;
}

.service ul {
   list-style: disc;
  padding-left: 18px;
}

/* Títol servei */
.service h3 {
  font-family: 'Dela Gothic One', sans-serif;
  font-size: clamp(16px, 2vw, 22px);
  color: var(--sage);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-intro {
  font-size: 15px;
  color: #555;
  font-style: italic;
  margin-bottom: 16px;
}

.service-list {
  list-style: disc;
  padding-left: 18px;
}

.service li {
  font-size: 14px;
  color: #444;
  margin-bottom: 5px;
}

.sublist {
  margin-top: 4px;
  list-style: circle;
}

.sublist li {
  font-size: 13px;
  color: #666;
}

/* CTA centrat sota la graella */
.services-cta {
  text-align: center;
  margin-top: 20px;
}


/* ─── PER QUÈ PLANTES ────────────────────────────────────────── */

.why-section {
  background: #e8896a;  /* era: #2e3d2f */
  padding: 48px 0;
}

.why-section h2 {
  font-size: clamp(22px, 3vw, 34px);
  color: #f5f1ea;
  margin-bottom: 40px;
}

/* Subratllat decoratiu */
.why-section h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: #f5f1ea;
  margin-top: 12px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.why-item {
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.why-item:nth-child(odd) {
  padding-right: 60px;
}

.why-item:nth-child(even) {
  padding-left: 60px;
  border-left: 1px solid rgba(255,255,255,0.2);
}

.why-item h3 {
  font-family: 'Epilogue', sans-serif;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 12px;
  color: var(--sage);
}

.why-item p {
  font-size: 15px;
  color: rgba(245,241,234,0.75);
}


/* ─── SOBRE NOSALTRES ────────────────────────────────────────── */

.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

/* Panell esquerre: foto emmarcada amb fons cru */
.about-image {
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px 48px 48px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05);
  transition: transform 8s ease;
}

.about-section:hover .about-image img {
  transform: scale(1.03);
}

/* Panell dret: text */
.about-content {
  background: var(--bg);
  padding: 40px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.about-content h2 {
  font-size: clamp(48px, 7vw, 96px);
  color: var(--sage);
  line-height: 0.95;
  margin-bottom: 8px;
}

.about-content p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.7;
}

.about-content .btn-pill {
  align-self: flex-start;
}
/* ─── CONTACTE ───────────────────────────────────────────────── */

.contact-section {
  padding: 48px 0;
  background: var(--bg);
}

.contact-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Esquerra: títol + email */
.contact-left h2 {
  font-size: clamp(36px, 5vw, 68px);
  color: var(--text);
  line-height: 1.0;
  margin-bottom: 28px;
}

.contact-left p {
  font-size: 15px;
  color: rgba(245,241,234,0.75);
}

.contact-left a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Formulari dret */
.contact-right form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.req {
  font-size: 12px;
  font-weight: 400;
  color: #888;
  margin-left: 4px;
}

.form-group input,
.form-group textarea {
  padding: 14px 18px;
  border: 1.5px solid rgba(0,0,0,0.2);
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  font-family: 'Epilogue', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--sage);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #bbb;
}

.btn-submit {
  align-self: flex-start;
  margin-top: 4px;
}


/* ─── FOOTER ─────────────────────────────────────────────────── */

.footer {
  background: var(--primary);
  padding: 28px 0;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.footer-logo {
  font-family: 'Dela Gothic One', sans-serif;
  font-size: 28px;
  color: #fff;
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}

.footer-logo {
  font-family: 'Dela Gothic One', sans-serif;
  font-size: 28px;
  color: #fff;
  margin-bottom: 4px;
}

.footer-right {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}


/* ─── SCROLL JS ──────────────────────────────────────────────── */

/* Ja gestionat per l'script inline al body */


/* ─── RESPONSIVE ─────────────────────────────────────────────── */

@media (max-width: 900px) {

  .hero {
    grid-template-columns: 1fr;
    height: auto;
  }

  .hero-left {
    padding: 120px 32px 60px;
    min-height: 70vh;
  }

  .hero-right {
    height: 50vw;
    min-height: 300px;
  }

  .stats-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

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

  .why-item:nth-child(odd),
  .why-item:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-left: none;
  }

  .about-section {
    grid-template-columns: 1fr;
  }

  .about-image {
    height: 50vw;
    min-height: 280px;
  }

  .about-content {
    padding: 60px 32px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 0 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  header {
    padding: 0 24px;
  }

  nav {
    gap: 20px;
  }

  .container {
    padding: 0 24px;
  }
}

@media (max-width: 600px) {
  nav a:not(:last-child) {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════════
   SERVEIS — Estètica Botànic (targetes fosques sobre fons cru)
   ═══════════════════════════════════════════════════════════════ */

/* Strip de presentació */
.botanic-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 24px;
  border-left: 3px solid var(--primary);
  background: rgba(212,85,58,0.04);
  margin-bottom: 32px;
}

.botanic-strip-badge {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-style: italic;
  color: var(--primary);
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.botanic-strip p {
  font-size: 14px;
  color: var(--text-mid);
  flex: 1;
  line-height: 1.5;
}

.botanic-strip-link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  white-space: nowrap;
  transition: opacity 0.2s;
}

.botanic-strip-link:hover { opacity: 0.65; }

/* Grid de targetes */
.botanic-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

/* Targeta */
.botanic-service-card {
  background: #161210;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.botanic-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.18);
}

/* Foto */
.bsc-photo {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.bsc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.68) contrast(1.08) saturate(0.85);
  transition: transform 8s ease, filter 0.5s ease;
}

.botanic-service-card:hover .bsc-photo img {
  transform: scale(1.06);
  filter: brightness(0.82) contrast(1.05) saturate(0.95);
}

/* Número flotant */
.bsc-num {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  font-weight: 300;
  color: rgba(255,255,255,0.07);
  line-height: 1;
  pointer-events: none;
}

/* Cos de la targeta */
.bsc-body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Label */
.bsc-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 10px;
}

/* Títol */
.bsc-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  color: #f0ebe3;
  margin-bottom: 10px;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.2;
}

/* Intro */
.bsc-intro {
  font-size: 13px;
  color: rgba(240,235,227,0.5);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Llista */
.bsc-list {
  list-style: none;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 16px;
  flex: 1;
}

.bsc-list li {
  font-size: 13px;
  color: rgba(240,235,227,0.45);
  padding: 6px 0;
  border-bottom: none;
  margin-bottom: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.bsc-list li::before {
  content: "·";
  color: var(--sage);
  font-size: 18px;
  line-height: 1.1;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .botanic-services-grid {
    grid-template-columns: 1fr;
  }

  .botanic-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
/* Links legals al footer */
.footer-legal {
  margin-top: 6px;
}

.footer-legal a {
  color: rgba(255,255,255,0.55);
  font-size: 12px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: #fff;
  opacity: 1;
}

/* Nav manifest */
.nav-manifest {
  padding: 7px 16px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 4px;
  color: #fff !important;
  transition: background 0.2s ease;
}

.nav-manifest:hover {
  background: rgba(255,255,255,0.15);
  opacity: 1;
}

header.scrolled .nav-manifest {
  border-color: var(--sage);
  color: var(--sage) !important;
}

header.scrolled .nav-manifest:hover {
  background: var(--sage);
  color: #fff !important;
}

/* Eyebrow de secció — estètica kit */
.section-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 12px;
  font-family: 'Epilogue', sans-serif;
}


/* ═══════════════════════════════════════════════════════════════
   NOSALTRES / CONTACTA'NS — pàgina nosaltres.html
   ═══════════════════════════════════════════════════════════════ */

/* ─── HEADER (nosaltres) ─── */
.nosaltres-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 0 40px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nosaltres-header .logo { color: var(--text); }
.nosaltres-header nav a {
  font-size: 13px;
  color: var(--text);
  opacity: 0.7;
  letter-spacing: 0.3px;
  transition: opacity 0.2s;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nosaltres-header nav a:hover { opacity: 1; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    
    ::selection { background: var(--primary); color: #fff; }

    

    
    

    

    /* ─── HEADER ─── */
    header {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 200;
      padding: 0 40px;
      height: 56px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .logo {
      font-family: 'Dela Gothic One', sans-serif;
      font-size: 18px;
      color: var(--text);
      letter-spacing: 1px;
    }

    .logo 

    nav 

    nav 

    /* ─── LAYOUT PRINCIPAL: dos panells ─── */
    .page-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      min-height: 100vh;
    }

    /* ─── PANELL ESQUERRE: text + form ─── */
    .left-panel {
      padding: 100px 60px 60px;
      display: flex;
      flex-direction: column;
      gap: 0;
    }

    .page-title {
      font-size: clamp(52px, 7vw, 68px);
      color: var(--text);
      text-transform: uppercase;
      letter-spacing: -1px;
      margin-bottom: 40px;
    }

    .about-

    /* ─── FORMULARI ─── */
    .form-title {
      font-family: 'Dela Gothic One', sans-serif;
      font-size: 20px;
      letter-spacing: 1.5px;
      color: var(--text);
      opacity: 0.8;
      margin-bottom: 20px;
    }

    form {
      display: flex;
      flex-direction: column;
      gap: 16px;
      max-width: 520px;
    }

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

    .form-group {
      display: flex;
      flex-direction: column;
      gap: 5px;
    }

    .form-group label {
      font-size: 13px;
      font-weight: 500;
      color: var(--text);
    }

    .req {
      font-size: 11px;
      font-weight: 400;
      opacity: 0.55;
      margin-left: 3px;
    }

    .form-group input,
    .form-group textare

    .form-group textare

    .form-group input:focus,
    .form-group textarea:focus {
      border-color: var(--primary);
    }

    .form-group input::placeholder,
    .form-group textarea::placeholder {
      color: rgba(30,30,30,0.35);
    }

    .btn-submit {
      align-self: flex-start;
      padding: 14px 44px;
      background: rgba(212, 85, 58, 0.6);
      color: #fff;
      font-family: 'Epilogue', sans-serif;
      font-size: 17px;
      font-weight: 600;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      border-radius: 100px;
      border: none;
      cursor: pointer;
      transition: background 0.2s ease, transform 0.15s ease;
      margin-top: 4px;
    }

    .btn-submit:hover {
      background: #b8422a;
      transform: translateY(-1px);
    }

    /* ─── PANELL DRET: foto emmarcada ─── */
    .right-panel {
      background: var(--orange);
      display: flex;
      align-items: stretch;
      padding: 56px 56px 56px 28px;
    }

    .photo-frame {
      width: 100%;
      overflow: hidden;
    }

    .photo-frame 

    .right-panel:hover .photo-frame 

    /* ─── RESPONSIVE ─── */
    @media (max-width: 900px) {
      .page-grid {
        grid-template-columns: 1fr;
      }

      .right-panel {
        padding: 32px;
        height: 60vw;
        min-height: 300px;
      }

      .left-panel {
        padding: 90px 28px 48px;
      }

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

      header {
        padding: 0 24px;
      }
    }

.about-body {
  font-size: 17px;
  color: var(--text);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 52px;
  opacity: 0.9;
}

/* Cos específic de nosaltres.html */
body.nosaltres-page {
  background: #F2B28C;
}
