@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');
/* ========================================
   IDENTITAT VISUAL
======================================== */

:root {
  --green-dark: #0d594a;
  --green: #378778;
  --blue: #044966;
  --white: #ffffff;
  --off-white: #f7f8f6;
  --light-green: #eaf1ee;
  --text: #26332f;
  --muted: #65736d;
  --border: #dce5e0;

  --heading-font: 'DM Sans', Arial, sans-serif;
--body-font: 'DM Sans', Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--body-font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 15px;
}

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

button {
  font-family: inherit;
}

.container {
  width: min(1160px, 90%);
  margin: 0 auto;
}

.section {
  padding: 110px 0;
}

h1,
h2,
h3 {
  font-weight: 400;
}

h1,
h2 {
  font-family: var(--heading-font);
  line-height: 1.15;
}

h1 {
  font-size: clamp(48px, 6vw, 76px);
}

h2 {
  font-size: clamp(38px, 4.5vw, 57px);
}

h1 span,
h2 span {
  color: var(--green);
}

p {
  line-height: 1.85;
}


/* ========================================
   CAPÇALERA
======================================== */

.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-symbol {
  height: 42px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.logo-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--green-dark);
}

.logo-subtitle {
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--muted);
  margin-top: 5px;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 28px;
}

.navigation a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s ease;
}

.navigation a:hover {
  color: var(--blue);
}

.language-selector {
  display: flex;
  align-items: center;
  gap: 5px;
}

.language-button {
  background: transparent;
  border: 0;
  padding: 7px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}

.language-button.active,
.language-button:hover {
  background: var(--green-dark);
  color: var(--white);
}


/* ========================================
   HERO / PORTADA
======================================== */

.hero {
  background: var(--off-white);
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 85px 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 70px;
}

.hero-visual {
  transform: translateX(35px);
}

.eyebrow,
.section-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--green);
  margin-bottom: 24px;
}

.hero h1 {
  color: var(--green-dark);
  margin-bottom: 28px;
  max-width: 680px;
  font-size: 48px;
  line-height: 1.15;
}

.hero-description {
  max-width: 580px;
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.25s ease;
}

.button-primary {
  background: var(--green-dark);
  color: var(--white);
  border: 1px solid var(--green-dark);
}

.button-primary:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px);
}

.button-secondary {
  color: var(--green-dark);
  border: 1px solid var(--green-dark);
  background: transparent;
}

.button-secondary:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}


/* ========================================
   ELEMENT VISUAL DE PORTADA
======================================== */

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-card {
  width: 100%;
  max-width: 390px;
  aspect-ratio: 0.9;
  background: var(--green-dark);
  color: var(--white);
  padding: 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.visual-card::before {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 50%;
  top: -85px;
  right: -85px;
}

.visual-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  bottom: -75px;
  left: -65px;
}

.visual-small {
  font-size: 11px;
  letter-spacing: 3px;
  color: #c4ded5;
  text-align: center;
}

.visual-large {
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.25;
  text-align: center;
}

.visual-line {
  width: 65px;
  height: 2px;
  background: #8eb9aa;
  margin: 25px 0;
}


/* ========================================
   INTRODUCCIÓ
======================================== */

.intro {
  text-align: center;
  background: var(--white);
}

.intro-content {
  max-width: 850px;
}

.intro h2 {
  color: var(--green-dark);
  margin-bottom: 28px;
}

.intro p {
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto;
}


/* ========================================
   SERVEIS
======================================== */

.services {
  background: var(--off-white);
}

.section-heading {
  max-width: 750px;
  margin-bottom: 55px;
}

.section-heading h2 {
  color: var(--green-dark);
  margin-bottom: 18px;
}

.section-heading p {
  color: var(--muted);
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 38px;
  min-height: 260px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--blue);
}

.service-number {
  display: block;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.service-card h3 {
  font-family: var(--heading-font);
  font-size: 29px;
  color: var(--green-dark);
  margin-bottom: 15px;
}

.service-card p {
  color: var(--muted);
  font-size: 13px;
}


/* ========================================
   METODOLOGIA
======================================== */

.method {
  background: var(--off-white);
  color: var(--text);
}

.method .section-label {
  color: var(--green);
}

.method-heading {
  max-width: 750px;
  margin-bottom: 65px;
}

.method-heading h2 {
  color: var(--green-dark);
}

.method-heading h2 span {
  color: var(--green);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.method-item {
  border-top: 1px solid var(--border);
  padding-top: 25px;
}

.method-item > span {
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

.method-item h3 {
  font-family: var(--body-font);
  font-size: 28px;
  font-weight: 700;
  margin: 15px 0 12px;
  color: var(--green-dark);
}

.method-item p {
  font-size: 14px;
  line-height: 1.8;
  color: #414d47;
}


/* ========================================
   SOBRE MI
======================================== */

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

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 55px;
  align-items: start;
}
.about-text {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.about-heading {
  position: static;
  width: 100%;
  text-align: center;
}

.about-heading h2 {
  color: var(--green-dark);
  text-align: center;
  max-width: none;
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1.2;
}

.about-heading h2 span {
  display: block;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 13px;
  font-size: 14px;
  line-height: 1.75;
}



/* ========================================
   FRASE DESTACADA
======================================== */

.statement {
  background: var(--blue);
  color: var(--white);
  padding: 20px 0;
  text-align: center;
}

.statement-content {
  max-width: 900px;
  margin: 0 auto;
}

.statement-small {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #a8d0d5;
  margin-bottom: 12px;
}

.statement h2 {
  font-size: clamp(23px, 2.8vw, 32px);
  color: var(--white);
  line-height: 1.25;
}

.statement h2 span {
  display: block;
  color: #a8d0d5;
  margin-top: 5px;
}


/* ========================================
   CONTACTE
======================================== */

.contact {
  background: var(--off-white);
}

.contact-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 80px;
}

.contact-heading h2 {
  color: var(--green-dark);
  margin-bottom: 22px;
}

.contact-heading p {
  color: var(--muted);
  max-width: 570px;
}

.contact-details {
  border-left: 2px solid var(--green);
  padding: 15px 0 15px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--blue);
  margin-bottom: 15px;
}

.contact-email {
  color: var(--green-dark);
  font-size: clamp(17px, 2vw, 23px);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.contact-email:hover {
  color: var(--green);
}

.contact-phone {
  color: var(--green-dark);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-phone:hover {
  color: var(--green);
}

.contact-social-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.contact-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-social svg {
  width: 17px;
  height: 17px;
  display: block;
  flex-shrink: 0;
}

.contact-social.whatsapp {
  background: #e8f3ed;
  color: #176b45;
}

.contact-social.whatsapp:hover {
  background: #d5eadd;
}

.contact-social.telegram {
  background: #e7f0f5;
  color: #26749c;
}

.contact-social.telegram:hover {
  background: #d5e7f0;
}

.contact-note {
  display: inline-block;
  margin-top: 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.3px;
}



/* ========================================
   PEU DE PÀGINA
======================================== */

.footer {
  background: #073d34;
  color: var(--white);
  padding: 35px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.footer-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
}

.footer p {
  font-size: 11px;
  color: #b8d0c8;
  margin-top: 5px;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  font-size: 10px;
  color: #b8d0c8;
}

/* XARXES SOCIALS - TOTES LES PÀGINES */

.footer-content-social {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b8d0c8;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
  color: var(--white);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 25px;
  height: 25px;
  display: block;
}


/* ========================================
   ADAPTACIÓ A TAULETES I MÒBILS
======================================== */

@media (max-width: 900px) {

  .header-content {
    flex-wrap: wrap;
    padding: 18px 0;
  }

  .navigation {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 20px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .visual-card {
    max-width: 340px;
  }

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-heading {
    position: static;
  }

  .method-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


@media (max-width: 600px) {

  .section {
    padding: 75px 0;
  }

  .container {
    width: 88%;
  }

  .header-content {
    gap: 15px;
  }

  .logo-name {
    font-size: 12px;
  }

  .navigation {
    gap: 13px;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 5px;
  }

  .navigation a {
    white-space: nowrap;
    font-size: 11px;
  }

  .language-button {
    padding: 6px;
  }

  .hero {
    padding: 65px 0;
  }

 .hero h1 {
  font-size: 28px;
  line-height: 1.2;
  text-align: center;
}

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .visual-card {
    max-width: 100%;
    aspect-ratio: 1 / 0.9;
    padding: 35px;
  }

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

  .service-card {
    padding: 28px;
    min-height: auto;
  }

  .method-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
  }

  .statement {
    padding: 75px 0;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-right {
    align-items: flex-start;
  }
  /* TITULARS CENTRATS EN MOBIL */

.services .section-heading h2,
.solutions .section-heading h2,
.method .section-heading h2,
.collaboration-section .section-heading h2,
.contact .section-heading h2 {
  font-size: 18px;
  line-height: 1.2;
  text-align: center;
}

  /* BLOC VISUAL DE LA PAGINA INICI */

  .hero-visual {
    justify-content: center;
  }

  .visual-card {
    text-align: center;
  }

  /* BLOC ORDERLY DISORDER */

  .statement {
    padding: 40px 0;
  }
}

/* ========================================
   PÀGINA SOLUCIONS
======================================== */

.solutions {
  padding-top: 110px;
  padding-bottom: 110px;
  background: var(--off-white);
}

.solutions .section-heading h2 span {
  display: block;
  color: #378778;
}

.solutions .section-heading p {
  max-width: 760px;
  margin: 25px 0 0 0;
  padding: 0;
  line-height: 1.8;
  font-size: 16px;
  color: #414d47;
  text-align: left;
}

/* TARGETES DE MODALITATS */

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

.solution-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 0;
  padding: 25px 28px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--white);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.solution-card:hover {
  transform: translateY(-3px);
  border-color: var(--green);
}

.solution-number {
  display: none;
}

.solution-card h3 {
  font-family: var(--body-font);
  font-size: 18px;
  line-height: 1.35;
  margin: 0 0 12px;
  font-weight: 700;
  color: var(--green-dark);
}

.solution-card p {
  font-family: var(--body-font);
  font-size: 12px;
  line-height: 1.65;
  color: #414d47;
  margin: 0;
}

.solution-type {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(55, 135, 120, 0.35);
  width: 100%;
  color: #378778;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

/* TANCAMENT I CRIDA A L'ACCIÓ */

.solutions-note {
  max-width: 760px;
  margin: 75px auto 0;
  text-align: center;
}

.solutions-note p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.solutions-note .btn {
  display: inline-block;
  color: #0d594a;
  font-weight: 700;
}

/* ADAPTACIÓ A MÒBILS */

@media (max-width: 850px) {
  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .solution-card {
    min-height: 260px;
  }

  .solution-number {
    margin-bottom: 30px;
  }

  .solutions .section-heading h2 {
    font-size: 38px;
    letter-spacing: -1px;
  }
}

@media (max-width: 480px) {
  .solutions {
    padding-top: 75px;
    padding-bottom: 75px;
  }

  .solutions .section-heading h2 {
    font-size: 32px;
  }

  .solution-card {
    padding: 30px 24px;
  }
}



/* ========================================
   ACTUALITZACIÓ VISUAL GENERAL
======================================== */

/* CAPÇALERA */

.header {
  border-bottom: 1px solid #e3eae6;
  box-shadow: 0 2px 12px rgba(13, 89, 74, 0.04);
}

.header-content {
  min-height: 96px;
}

.logo-name {
  font-size: 16px;
}

.logo-subtitle {
  font-size: 11px;
  letter-spacing: 1.8px;
  font-weight: 600;
}


/* PORTADA */

.hero h1 {
  font-weight: 700;
}

.hero-description {
  color: #414d47;
}


/* ETIQUETES DE LES SECCIONS */

.section-label {
  font-size: 12px;
  letter-spacing: 2px;
}


/* SERVEIS */

.service-number {
  display: none;
}

.service-card h3 {
  font-family: var(--body-font);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
}

.service-card p {
  color: #333d38;
  font-size: 14px;
  line-height: 1.8;
}

.section-heading p {
  color: #414d47;
}



/* METODOLOGIA */

.method-heading {
  max-width: 100%;
  text-align: center;
}

.method-heading h2 {
  text-align: center;
}

.method-item > span {
  display: none;
}


/* SOBRE MI */

.about {
  background: var(--off-white);
}

.about-text {
  max-width: 700px;
}

.about-text p {
  color: #38443e;
  text-align: left;
  line-height: 1.9;
}


/* PEU DE PÀGINA */

.footer {
  background: var(--green-dark);
}

.footer-name {
  font-size: 13px;
}

.footer p {
  font-size: 13px;
}


/* ADAPTACIÓ A MÒBILS */

@media (max-width: 600px) {

  .header-content {
    min-height: auto;
  }

  .logo-name {
    font-size: 13px;
  }

  .logo-subtitle {
    font-size: 10px;
  }

  .hero h1 {
    font-size: 46px;
  }

}
/* ========================================
   RETOC TIPOGRÀFIC - PÀGINA SERVEIS
======================================== */

.services .section-heading h2 {
  font-family: var(--body-font);
  font-weight: 700;
}

.services .section-heading p {
  font-family: var(--body-font);
  color: #414d47;
  font-size: 15px;
  line-height: 1.7;
}

.services .service-card h3 {
  font-family: var(--body-font);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 23px;
}

.services .service-card p {
  font-family: var(--body-font);
  color: #333d38;
  font-size: 14px;
  line-height: 1.8;
}
/* ========================================
   IDENTITAT TIPOGRÀFICA UNIFICADA
======================================== */

/* Tots els titulars */

h1,
h2,
h3 {
  font-family: var(--heading-font);
  font-weight: 700;
}

/* TÍTOL DE SERVEIS */

.services .section-heading h2 span {
  display: block;
}

/* MATEIX PES TIPOGRÀFIC A SOLUCIONS */

.solutions .section-heading h2 {
  font-weight: 700;
}
/* Títol de Sobre mi */

.about-heading {
  width: 100%;
  max-width: 100%;
  text-align: center;
}

.about-heading h2 {
  width: 100%;
  max-width: none;
  text-align: center;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.2;
}

.about-heading h2 span {
  display: block;
}
/* TANCAMENT DEL TEXT DE CONTACTE */

.contact-closing {
  margin-top: 28px;
  font-size: 20px;
  font-weight: 700;
  color: var(--blue);
}
/* FRASE GESTIÓ · ORGANITZACIÓ · ACCIÓ */

.hero .eyebrow {
  color: #044966;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2.5px;
}
/* SUBTÍTOLS UNIFICATS */

.section-label,
.method .section-label {
  color: #044966;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2.5px;
}
/* ========================================
   PACKS MENSUALS - PÀGINA SOLUCIONS
======================================== */

.packs-section {
  margin-top: 110px;
}

.packs-heading {
  max-width: 800px;
  margin: 0 auto 55px;
  text-align: center;
}

.packs-heading h2 {
  color: var(--green-dark);
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 22px;
}

.packs-heading h2 span {
  display: block;
  color: var(--green);
}

.packs-heading p {
  color: #414d47;
  font-size: 15px;
  line-height: 1.8;
}

.packs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.pack-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px 30px;
  border: 1px solid var(--border);
  background: var(--white);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.pack-card:hover {
  transform: translateY(-5px);
  border-color: var(--blue);
}

.pack-number {
  display: none;
}

.pack-card h3 {
  color: var(--green-dark);
  font-size: 23px;
  line-height: 1.3;
  margin-bottom: 15px;
}

.pack-description {
  color: var(--green);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 18px;
}

.pack-intro {
  color: #414d47;
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 22px;
}

.pack-includes {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 15px;
}

.pack-card ul {
  list-style: none;
  width: 100%;
  margin-bottom: 30px;
}

.pack-card li {
  position: relative;
  padding-left: 17px;
  margin-bottom: 11px;
  color: #333d38;
  font-size: 13px;
  line-height: 1.7;
}

.pack-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.pack-price {
  width: 100%;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pack-hours {
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
}

.pack-amount {
  color: var(--green-dark);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
}

.pack-amount small {
  font-size: 15px;
  font-weight: 500;
}

.pack-estimate {
  color: var(--muted);
  font-size: 11px;
  margin-top: 5px;
}


/* CONDICIONS DELS PACKS */

.packs-conditions {
  max-width: 850px;
  margin: 55px auto 0;
  padding: 30px 35px;
  background: var(--off-white);
  border-left: 3px solid var(--green);
}

.packs-conditions h3 {
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.packs-conditions p {
  color: #414d47;
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.packs-conditions > span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-style: italic;
  margin-top: 18px;
}


/* ADAPTACIÓ DELS PACKS */

@media (max-width: 1000px) {
  .packs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .packs-section {
    margin-top: 75px;
  }

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

  .pack-card {
    padding: 30px 24px;
  }

  .packs-conditions {
    padding: 25px 22px;
  }
}

/* ========================================
   METODOLOGIA - FORMES DE COL·LABORAR
======================================== */

.collaboration-section {
  padding-top: 30px;
  padding-bottom: 110px;
}

.collaboration-section .section-heading {
  margin-bottom: 55px;
}

.collaboration-section .section-heading h2 {
  font-weight: 700;
}

.collaboration-section .section-heading h2 span {
  display: block;
  color: var(--green);
}

.collaboration-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.collaboration-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 30px;
  border: 1px solid var(--border);
  background: var(--white);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.collaboration-card:hover {
  transform: translateY(-4px);
  border-color: var(--green);
}

.collaboration-card h3 {
  margin: 0 0 18px;
  color: var(--green-dark);
  font-family: var(--body-font);
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
}

.collaboration-card p {
  margin: 0 0 13px;
  color: #414d47;
  font-family: var(--body-font);
  font-size: 14px;
  line-height: 1.8;
}

.collaboration-type {
  width: 100%;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(55, 135, 120, 0.35);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

/* ADAPTACIÓ A PANTALLES PETITES */

@media (max-width: 850px) {
  .collaboration-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .collaboration-section {
    padding-top: 10px;
    padding-bottom: 75px;
  }

  .collaboration-section .section-heading h2 {
    font-size: 32px;
  }

  .collaboration-card {
    padding: 28px 24px;
  }
}
/* ========================================
   UNIFICACIÓ DE TITULARS PRINCIPALS
======================================== */

/* Serveis */

.services .section-heading h2 {
  font-size: 48px;
}

/* Solucions */

.solutions .section-heading h2 {
  font-size: 48px;
}

/* Metodologia */

.method-heading h2 {
  font-size: 48px;
}

/* TITULAR PRINCIPAL - METODOLOGIA */

.method .section-heading {
  max-width: 750px;
  text-align: left;
}

.method .section-heading h2 {
  font-size: 48px;
  text-align: left;
}
.collaboration-section .section-heading h2 {
  font-size: 48px;
}
/* EFECTE HOVER - FASES DE METODOLOGIA */

.method-item {
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.method-item:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
}
/* RESSALTAT BLAU - TARGETES DE COL·LABORACIÓ */

.collaboration-card:hover {
  border-color: var(--blue);
}
/* RESSALTAT DE LA LÍNIA INTERIOR */

.collaboration-card:hover .collaboration-type {
  border-top-color: var(--blue);
}
.collaboration-card:hover .collaboration-type {
  color: var(--blue);
}
.contact .contact-closing {
  color: #044966 !important;
}
.solutions-note .btn-primary {
  color: var(--blue);
}
/* TEXT DE LES TARGETES DE SOLUCIONS EN HOVER */

.pack-card:hover .solution-type {
  color: var(--blue);
}
/* RESSALTAT DEL NOM, HORES I PREU DELS PACKS */

.pack-card:hover .pack-name,
.pack-card:hover .pack-hours,
.pack-card:hover .pack-amount {
  color: var(--blue);
}
/* COLOR DE LES ETIQUETES DE COL·LABORACIÓ */

.collaboration-type {
  color: var(--green-dark);
}
/* RESSALTAT DELS TÍTOLS DE SERVEIS */

.service-card:hover h3 {
  color: var(--blue);
}
/* RESSALTAT DELS TÍTOLS DELS PACKS */

.pack-card:hover h3 {
  color: var(--blue);
}
/* ESPAI ENTRE FRASE DESTACADA I PEU DE PÀGINA */

.statement {
  margin-bottom: 45px;
}
/* RESSALTAT DELS TÍTOLS DE COL·LABORACIÓ */

.collaboration-card:hover h3 {
  color: var(--blue);
}
/* RESSALTAT DELS TÍTOLS DE METODOLOGIA */

.method-item:hover h3 {
  color: var(--blue);
}

/* ========================================
   AJUSTOS FINALS PER A MÒBILS
======================================== */

@media (max-width: 600px) {

  /* TITULARS PRINCIPALS */

  .hero h1,
  .services .section-heading h2,
  .solutions .section-heading h2,
  .method-heading h2,
  .method .section-heading h2,
  .collaboration-section .section-heading h2,
  .contact .section-heading h2,
  .contact-heading h2 {
    font-size: 28px;
    line-height: 1.2;
    text-align: center;
  }

  /* PORTADA */

  .hero-visual {
    justify-content: center;
    transform: none;
  }

  .visual-card {
    text-align: center;
  }

  .visual-large {
    font-size: 22px;
    line-height: 1.3;
  }

  /* SOBRE MI: NO MODIFICAR EL TITULAR */

  /* FRASE ORDERLY DISORDER */

  .statement {
    padding: 40px 0;
  }
  /* ETIQUETES SUPERIORS CENTRADES */

  .eyebrow,
  .section-label {
    display: block;
    width: 100%;
    text-align: center;
  }
}
/* ========================================
   AJUSTOS FINALS PER A TAULETES
======================================== */

@media (min-width: 601px) and (max-width: 900px) {

  /* CENTRAR ELS BLOCS PRINCIPALS */

  .hero-text,
  .services .section-heading,
  .solutions .section-heading,
  .method .section-heading,
  .collaboration-section .section-heading {
    text-align: center;
  }

  /* CONTACTE */

  .contact-content {
    grid-template-columns: 1fr;
    gap: 35px;
    text-align: center;
  }

  .contact-heading {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .contact-heading .section-label {
    display: block;
    width: 100%;
    text-align: center;
  }

  .contact-heading h2,
  .contact-heading p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-heading p {
    max-width: 650px;
  }

  .contact-details {
    width: 100%;
    border-left: 0;
    border-top: 2px solid var(--green);
    padding: 25px 0 0;
    align-items: center;
    text-align: center;
  }

  /* MÉS ESPAI ABANS DEL PEU DE PÀGINA */

  .contact {
    padding-bottom: 250px;
  }

  /* TITULARS I ETIQUETES DE METODOLOGIA */

  .method .section-heading h2 {
    text-align: center;
  }

  .eyebrow,
  .section-label {
    display: block;
    width: 100%;
    text-align: center;
  }

  /* BOTONS DE LA PORTADA */

  .hero-actions {
    justify-content: center;
  }

  /* QUADRE VERD THINKING */

  .hero-visual {
    justify-content: center;
    transform: none;
  }

}

/* =====================================
   PEU DE PÀGINA - AJUSTOS RESPONSIVE
   ===================================== */

/* TAULETES */
@media (min-width: 601px) and (max-width: 900px) {

  .footer-content-social {
    grid-template-columns: 1fr auto 1fr;
    gap: 15px;
  }

  .footer-social {
    justify-self: center;
    transform: translateX(25px);
    gap: 20px;
  }

  .footer-right {
    justify-self: end;
  }

}

/* MÒBILS */
@media (max-width: 600px) {

  .footer {
    padding: 22px 0;
  }

  .footer-content-social {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
    gap: 22px;
  }

  .footer-social svg {
    width: 21px;
    height: 21px;
  }

  .footer-right {
    align-items: center;
    text-align: center;
    gap: 3px;
  }

  .footer-name {
    font-size: 11px;
    letter-spacing: 1.5px;
  }

  .footer p {
    font-size: 10px;
    margin-top: 3px;
  }

}

/* ========================================
   SELECTOR DE TEMA
======================================== */

.theme-selector {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.theme-toggle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--green-dark);
  font-size: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-toggle:hover {
  background: var(--light-green);
  border-color: var(--green);
}

.theme-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 200;
  width: 155px;
  padding: 7px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.theme-menu[hidden] {
  display: none;
}

.theme-menu button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  font-size: 13px;
  cursor: pointer;
}

.theme-menu button:hover,
.theme-menu button.selected {
  background: var(--light-green);
  color: var(--green-dark);
}

.theme-menu button span {
  width: 17px;
  font-size: 17px;
  text-align: center;
}


/* ========================================
   MODE FOSC
======================================== */

html[data-theme="dark"] {
  color-scheme: dark;

  --off-white: #172521;
  --light-green: #263c34;
  --text: #e5eee9;
  --muted: #b1c1b9;
  --border: #354b42;
}

html[data-theme="dark"] body {
  background: #111b18;
  color: var(--text);
}

/* CAPÇALERA */

html[data-theme="dark"] .header {
  background: #172521;
  border-bottom-color: #354b42;
}

html[data-theme="dark"] .logo-name {
  color: #a8d0c1;
}

html[data-theme="dark"] .logo-subtitle {
  color: #b1c1b9;
}

html[data-theme="dark"] .navigation a {
  color: #e5eee9;
}

html[data-theme="dark"] .navigation a:hover {
  color: #a8d0c1;
}

html[data-theme="dark"] .language-button {
  color: #c2d1ca;
}

html[data-theme="dark"] .language-button.active,
html[data-theme="dark"] .language-button:hover {
  background: #378778;
  color: #ffffff;
}

/* SELECTOR DE TEMA */

html[data-theme="dark"] .theme-toggle {
  color: #e5eee9;
  border-color: #50685e;
}

html[data-theme="dark"] .theme-toggle:hover {
  background: #263c34;
}

html[data-theme="dark"] .theme-menu {
  background: #1c2b25;
  border-color: #43594e;
}

html[data-theme="dark"] .theme-menu button {
  color: #e5eee9;
}

html[data-theme="dark"] .theme-menu button:hover,
html[data-theme="dark"] .theme-menu button.selected {
  background: #304b3f;
  color: #ffffff;
}

/* PORTADA */

html[data-theme="dark"] .hero {
  background: #172521;
}

html[data-theme="dark"] .hero h1 {
  color: #a8d0c1;
}

html[data-theme="dark"] .hero .eyebrow {
  color: #a8d0e0;
}

html[data-theme="dark"] .hero-description {
  color: #c0cec7;
}

html[data-theme="dark"] .button-primary {
  background: #378778;
  border-color: #378778;
  color: #ffffff;
}

html[data-theme="dark"] .button-primary:hover {
  background: #044966;
  border-color: #044966;
}

html[data-theme="dark"] .button-secondary {
  color: #a8d0c1;
  border-color: #70a998;
}

html[data-theme="dark"] .button-secondary:hover {
  color: #ffffff;
}

/* INTRODUCCIÓ I SOBRE MI */

html[data-theme="dark"] .intro,
html[data-theme="dark"] .about {
  background: #111b18;
}

html[data-theme="dark"] .intro h2,
html[data-theme="dark"] .about-heading h2 {
  color: #a8d0c1;
}

html[data-theme="dark"] .intro p,
html[data-theme="dark"] .about-text p {
  color: #c0cec7;
}

/* SERVEIS */

html[data-theme="dark"] .services,
html[data-theme="dark"] .method,
html[data-theme="dark"] .solutions,
html[data-theme="dark"] .contact {
  background: #172521;
  color: var(--text);
}

html[data-theme="dark"] .section-heading h2,
html[data-theme="dark"] .method-heading h2,
html[data-theme="dark"] .contact-heading h2,
html[data-theme="dark"] .packs-heading h2 {
  color: #a8d0c1;
}

html[data-theme="dark"] .section-heading p,
html[data-theme="dark"] .method-item p,
html[data-theme="dark"] .contact-heading p,
html[data-theme="dark"] .solutions .section-heading p,
html[data-theme="dark"] .packs-heading p {
  color: #c0cec7;
}

html[data-theme="dark"] .service-card,
html[data-theme="dark"] .solution-card,
html[data-theme="dark"] .pack-card,
html[data-theme="dark"] .collaboration-card {
  background: #1e3029;
  border-color: #354b42;
}

html[data-theme="dark"] .service-card h3,
html[data-theme="dark"] .solution-card h3,
html[data-theme="dark"] .pack-card h3,
html[data-theme="dark"] .collaboration-card h3,
html[data-theme="dark"] .method-item h3 {
  color: #a8d0c1;
}

html[data-theme="dark"] .service-card p,
html[data-theme="dark"] .solution-card p,
html[data-theme="dark"] .pack-intro,
html[data-theme="dark"] .pack-card li,
html[data-theme="dark"] .collaboration-card p {
  color: #c0cec7;
}

html[data-theme="dark"] .solution-type,
html[data-theme="dark"] .collaboration-type {
  color: #8fc8b5;
  border-top-color: #506d60;
}

html[data-theme="dark"] .pack-description,
html[data-theme="dark"] .pack-includes,
html[data-theme="dark"] .pack-hours {
  color: #8fc8b5;
}

html[data-theme="dark"] .pack-amount {
  color: #a8d0c1;
}

html[data-theme="dark"] .pack-estimate {
  color: #b1c1b9;
}

html[data-theme="dark"] .pack-price {
  border-top-color: #43594e;
}

/* METODOLOGIA */

html[data-theme="dark"] .method-item {
  border-top-color: #43594e;
}

/* PACKS I CONDICIONS */

html[data-theme="dark"] .packs-conditions {
  background: #1e3029;
  border-left-color: #378778;
}

html[data-theme="dark"] .packs-conditions h3 {
  color: #a8d0e0;
}

html[data-theme="dark"] .packs-conditions p,
html[data-theme="dark"] .packs-conditions > span {
  color: #c0cec7;
}

/* CONTACTE */

html[data-theme="dark"] .contact-label,
html[data-theme="dark"] .contact-note,
html[data-theme="dark"] .contact-closing {
  color: #a8d0e0 !important;
}

html[data-theme="dark"] .contact-email,
html[data-theme="dark"] .contact-phone {
  color: #a8d0c1;
}

html[data-theme="dark"] .contact-email:hover,
html[data-theme="dark"] .contact-phone:hover {
  color: #ffffff;
}

html[data-theme="dark"] .contact-details {
  border-left-color: #378778;
}

html[data-theme="dark"] .contact-social.whatsapp {
  background: #214535;
  color: #a8dfbb;
}

html[data-theme="dark"] .contact-social.telegram {
  background: #203e50;
  color: #a8d9ed;
}

/* CRIDA A L'ACCIÓ */

html[data-theme="dark"] .solutions-note p {
  color: #c0cec7;
}

html[data-theme="dark"] .solutions-note .btn {
  color: #a8d0e0;
}

/* PEU DE PÀGINA */

html[data-theme="dark"] .footer {
  background: #073d34;
}

/* ADAPTACIÓ MÒBIL */

@media (max-width: 600px) {

  .theme-selector {
    margin-left: 3px;
  }

  .theme-toggle {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

}
/* ========================================
   MODE FOSC — TÍTOLS PRINCIPALS
======================================== */

html[data-theme="dark"] .hero h1,
html[data-theme="dark"] .intro h2,
html[data-theme="dark"] .about-heading h2,
html[data-theme="dark"] .section-heading h2,
html[data-theme="dark"] .method-heading h2,
html[data-theme="dark"] .contact-heading h2,
html[data-theme="dark"] .packs-heading h2 {
  color: #a8d0c1;
}
/* MODE FOSC — ETIQUETES I TÍTOLS PETITS */

html[data-theme="dark"] .section-label,
html[data-theme="dark"] .eyebrow {
  color: #a8d0c1 !important;
}
/* ========================================
   MODE FOSC — EFECTES HOVER DE LES TARGETES
======================================== */

/* TARGETES DE SERVEIS */

html[data-theme="dark"] .service-card:hover {
  background: #29483c;
  border-color: #8fc8b5;
  box-shadow: 0 8px 24px rgba(55, 135, 120, 0.20);
}

html[data-theme="dark"] .service-card:hover h3 {
  color: #ffffff;
}

/* TARGETES DE SOLUCIONS */

html[data-theme="dark"] .solution-card:hover {
  background: #29483c;
  border-color: #8fc8b5;
  box-shadow: 0 8px 24px rgba(55, 135, 120, 0.20);
}

html[data-theme="dark"] .solution-card:hover h3,
html[data-theme="dark"] .solution-card:hover .solution-type {
  color: #ffffff;
}

/* TARGETES DELS PACKS */

html[data-theme="dark"] .pack-card:hover {
  background: #29483c;
  border-color: #8fc8b5;
  box-shadow: 0 8px 24px rgba(55, 135, 120, 0.20);
}

html[data-theme="dark"] .pack-card:hover h3,
html[data-theme="dark"] .pack-card:hover .pack-hours,
html[data-theme="dark"] .pack-card:hover .pack-amount {
  color: #ffffff;
}

/* TARGETES DE COL·LABORACIÓ */

html[data-theme="dark"] .collaboration-card:hover {
  background: #29483c;
  border-color: #8fc8b5;
  box-shadow: 0 8px 24px rgba(55, 135, 120, 0.20);
}

html[data-theme="dark"] .collaboration-card:hover h3,
html[data-theme="dark"] .collaboration-card:hover .collaboration-type {
  color: #ffffff;
}

html[data-theme="dark"] .collaboration-card:hover .collaboration-type {
  border-top-color: #8fc8b5;
}

/* FASES DE LA METODOLOGIA */

html[data-theme="dark"] .method-item:hover {
  border-top-color: #8fc8b5;
}

html[data-theme="dark"] .method-item:hover h3 {
  color: #a8d0c1;
}