:root {
  --sage: #9AA085;
  --sage-light: #B7BCA4;
  --sage-dark: #6F7A5D;
  --clay: #B88E83;
  --clay-dark: #9C6F63;
  --cream: #F3EBDD;
  --warm-white: #FBF6EC;
  --text-primary: #33352A;
  --text-secondary: #6B6459;
  --text-muted: #9C9484;
  --border-light: #E4DACB;
  --bg-subtle: #F6EFE4;
  --olive: #7B8A6E;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-primary);
  background: var(--warm-white);
  font-weight: 300;
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Lora', serif;
  font-weight: 500;
  line-height: 1.2;
}

/* ─── NAVBAR ─── */
.navbar-custom {
  padding: 1.2rem 0;
  background: var(--warm-white);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow .3s ease;
}
.navbar-custom.scrolled {
  box-shadow: 0 1px 20px rgba(0,0,0,.04);
}
.navbar-topbar {
  background: var(--olive);
  padding: .45rem 0;
  font-size: .72rem;
  color: var(--cream);
  letter-spacing: .03em;
}
.topbar-items {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.topbar-items li {
  display: flex;
  align-items: center;
  gap: .4rem;
}
.topbar-items svg { color: var(--cream); opacity: .85; }
.navbar-brand-area {
  display: flex;
  align-items: center;
  gap: .9rem;
  text-decoration: none;
  color: var(--text-primary);
}
.navbar-photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-light);
}
.navbar-name {
  font-family: 'Lora', serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.3;
}
.navbar-subtitle {
  font-size: .68rem;
  color: var(--text-muted);
  letter-spacing: .03em;
}
.nav-link-custom {
  font-size: .82rem;
  color: var(--text-secondary) !important;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .5rem 1rem !important;
  transition: color .2s;
}
.nav-link-custom:hover { color: var(--sage) !important; }
.btn-agendar {
  background: var(--clay);
  color: #fff;
  border: none;
  font-size: .8rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .6rem 1.6rem;
  border-radius: 2rem;
  transition: all .3s ease;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.btn-agendar:hover {
  background: var(--clay-dark);
  color: #fff;
  transform: translateY(-1px);
}
.btn-icon-wa {
  flex-shrink: 0;
}

/* ─── HERO ─── */
.hero {
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -20%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,142,131,.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-tag {
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--clay-dark);
  margin-bottom: 1.2rem;
  display: inline-block;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  max-width: 700px;
}
.hero p {
  color: var(--text-secondary);
  max-width: 720px;
  margin-bottom: 2rem;
  font-size: .95rem;
}
.btn-hero {
  background: var(--clay);
  color: #fff;
  border: none;
  font-size: .8rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .75rem 2rem;
  border-radius: 2rem;
  transition: all .3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.btn-hero:hover {
  background: var(--clay-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(184,142,131,.3);
}
.hero-image-col {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image-wrapper {
  position: relative;
  width: 340px;
  height: 420px;
}
.hero-image-wrapper::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  right: -12px;
  bottom: -12px;
  border: 1px solid var(--clay);
  border-radius: 12px;
  opacity: .4;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  position: relative;
  z-index: 1;
  background: var(--bg-subtle);
}

/* ─── SECTIONS ─── */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-subtle); }

.section-label {
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--clay-dark);
  margin-bottom: .6rem;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: .8rem;
}
.section-subtitle {
  color: var(--text-secondary);
  max-width: 520px;
  font-size: .92rem;
}

/* ─── SERVICES ─── */
.service-card {
  background: var(--warm-white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2.2rem 1.8rem;
  height: 100%;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.section-alt .service-card { background: #fff; }
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.service-card:hover::after { transform: scaleX(1); }
.service-card:hover {
  border-color: var(--sage-light);
  box-shadow: 0 8px 30px rgba(0,0,0,.04);
}
.service-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--sage);
}
.service-card h4 {
  font-size: 1.25rem;
  margin-bottom: .7rem;
}
.service-card p {
  color: var(--text-secondary);
  font-size: .88rem;
  margin-bottom: 1rem;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.service-tag {
  font-size: .7rem;
  letter-spacing: .03em;
  padding: .3rem .7rem;
  border-radius: 2rem;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
}

/* ─── SERVICE TABS ─── */
.service-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .8rem;
  margin-bottom: 3rem;
}
.service-tab {
  background: var(--warm-white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.3rem 1rem;
  cursor: pointer;
  text-align: center;
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .82rem;
  font-weight: 400;
  color: var(--text-muted);
}
.service-tab:hover {
  border-color: var(--clay);
  color: var(--text-primary);
}
.service-tab.active {
  background: var(--bg-subtle);
  border-color: var(--clay);
  color: var(--text-primary);
}
.service-tab.active .tab-icon {
  background: var(--clay);
  color: #fff;
}
.tab-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage-dark);
  transition: all .3s ease;
}
.service-panel {
  display: none;
}
.service-panel.active {
  display: block;
}
.service-panel-quote {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--sage-dark);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  border-left: 2px solid var(--clay);
  padding-left: 1.2rem;
}
.service-panel p {
  color: var(--text-secondary);
  font-size: .9rem;
  margin-bottom: .8rem;
}
.service-panel-body {
  column-count: 2;
  column-gap: 2.5rem;
}
.read-more-btn { display: none; }
@media (max-width: 767px) {
  .service-tabs { grid-template-columns: repeat(2, 1fr); }
  .service-panel-body { column-count: 1; }
  .text-collapse {
    max-height: 260px;
    overflow: hidden;
    position: relative;
    transition: max-height .4s ease;
  }
  .text-collapse::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--warm-white));
    pointer-events: none;
  }
  .text-collapse.expanded {
    max-height: 3000px;
  }
  .text-collapse.expanded::after {
    display: none;
  }
  .read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    margin-top: 1.2rem;
    background: none;
    border: none;
    padding: 0;
    color: var(--clay-dark);
    font-family: 'DM Sans', sans-serif;
    font-size: .85rem;
    font-weight: 500;
    letter-spacing: .02em;
    cursor: pointer;
  }
}

/* ─── MODALIDADES ─── */
.modalidade-card {
  text-align: center;
  padding: 2rem 1.5rem;
}
.modalidade-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--sage);
}
.modalidade-card h5 {
  font-size: 1.1rem;
  margin-bottom: .4rem;
}
.modalidade-card p {
  color: var(--text-secondary);
  font-size: .85rem;
}

/* ─── ABOUT ─── */
.about-image {
  width: 100%;
  max-width: 360px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--bg-subtle);
  aspect-ratio: 4/5;
}
.about-crp {
  font-size: .78rem;
  color: var(--text-muted);
  letter-spacing: .03em;
}
.timeline-item {
  display: flex;
  gap: 1.2rem;
  padding: .8rem 0;
  border-bottom: 1px solid var(--border-light);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-year {
  font-family: 'Lora', serif;
  font-size: .95rem;
  color: var(--sage);
  min-width: 70px;
  font-weight: 600;
}
.timeline-text {
  color: var(--text-secondary);
  font-size: .88rem;
}

/* ─── APPROACH ─── */
.approach-collage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 360px;
  margin: 0 auto 2.5rem;
}
.approach-main-photo {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--bg-subtle);
}
.approach-collage-photo {
  position: absolute;
  width: 46%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  border: 5px solid var(--warm-white);
  box-shadow: 0 12px 28px rgba(0,0,0,.15);
}
.approach-collage-photo-1 {
  bottom: -1.8rem;
  left: -1.2rem;
  transform: rotate(-6deg);
}
.approach-collage-photo-2 {
  top: -1.8rem;
  right: -1.2rem;
  transform: rotate(5deg);
}
@media (max-width: 991px) {
  .approach-collage { margin-bottom: 3rem; }
}
.approach-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.approach-content blockquote {
  border-left: 2px solid var(--clay);
  padding-left: 1.2rem;
  margin: 1.5rem 0 0;
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: .95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ─── GALERIA ─── */
.gallery-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
}

/* ─── MÍDIA ─── */
.media-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--warm-white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.8rem;
  text-decoration: none;
  transition: all .3s ease;
}
.section-alt .media-card { background: #fff; }
.media-card:hover {
  border-color: var(--clay);
  box-shadow: 0 8px 30px rgba(0,0,0,.05);
  transform: translateY(-2px);
}
.media-card-platform {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .7rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .9rem;
}
.media-platform-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clay-dark);
}
.media-card-tag {
  display: inline-block;
  font-size: .65rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: .5rem;
}
.media-card-caption {
  font-family: 'Lora', serif;
  font-style: italic;
  color: var(--text-secondary);
  font-size: .9rem;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1.2rem;
}
.media-card-link {
  font-size: .78rem;
  letter-spacing: .03em;
  color: var(--clay-dark);
  font-weight: 500;
}

/* ─── FAQ ─── */
.faq-item {
  border-bottom: 1px solid var(--border-light);
}
.faq-item:first-child { border-top: 1px solid var(--border-light); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 0;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  font-weight: 400;
  color: var(--text-primary);
  transition: color .2s;
}
.faq-question:hover { color: var(--clay-dark); }
.faq-question .faq-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
  margin-left: 1rem;
}
.faq-question .faq-icon svg {
  transition: transform .3s ease;
  color: var(--text-muted);
}
.faq-item.active .faq-icon {
  background: var(--clay);
  border-color: var(--clay);
}
.faq-item.active .faq-icon svg {
  transform: rotate(45deg);
  color: #fff;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1.3rem;
}
.faq-answer p {
  color: var(--text-secondary);
  font-size: .88rem;
  line-height: 1.7;
  padding-right: 3rem;
}

/* ─── CTA ─── */
.cta-section {
  background: var(--olive);
  padding: 4rem 0;
  text-align: center;
  color: #fff;
  border-radius: clamp(1.5rem, 6vw, 4rem) clamp(1.5rem, 6vw, 4rem) 0 0;
}
.cta-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: .6rem;
  color: #fff;
}
.cta-section p {
  opacity: .85;
  font-size: .9rem;
  margin-bottom: 2rem;
}
.btn-whatsapp {
  background: var(--clay);
  color: #fff;
  border: none;
  font-size: .8rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .75rem 2.2rem;
  border-radius: 2rem;
  transition: all .3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 500;
}
.btn-whatsapp:hover {
  background: var(--clay-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}

/* ─── FOOTER ─── */
.footer {
  background: var(--olive);
  color: rgba(255,255,255,.5);
  padding: 2.5rem 0;
  font-size: .78rem;
}
.footer a {
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color .2s;
}
.footer a:hover { color: rgba(255,255,255,.8); }
.footer-name {
  font-family: 'Lora', serif;
  font-size: 1rem;
  color: rgba(255,255,255,.7);
  font-weight: 500;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-credit {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .7rem;
  color: rgba(255,255,255,.35);
}
.footer-credit a {
  color: rgba(255,255,255,.5);
  text-decoration: none;
}
.footer-credit a:hover {
  color: rgba(255,255,255,.75);
}

/* ─── ANIMATIONS ─── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.hero .fade-up {
  opacity: 1;
  transform: none;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 991px) {
  .hero { padding: 4rem 0 3rem; }
  .hero-image-wrapper { width: 280px; height: 350px; margin-top: 2.5rem; }
  .hero-image-col { justify-content: flex-start; }
}
@media (max-width: 767px) {
  .navbar-custom { padding: .8rem 0; }
  .hero { text-align: center; }
  .hero h1, .hero p { max-width: 100%; }
  .hero-image-col { justify-content: center; margin-top: 2rem; }
  .hero-image-wrapper { width: 260px; height: 320px; }
  .section-subtitle { max-width: 100%; }
  .footer-row { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-links { justify-content: center; }
  .approach-box { padding: 1.8rem; }
  .faq-answer p { padding-right: 0; }
}
