/* ===== Common sections ===== */
.section { padding: 92px var(--pad); }
.section-inner { max-width: var(--max); margin: 0 auto; width: 100%; }
.section h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin: 14px 0 8px; }
.section .section-sub {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  color: var(--plum);
  margin-bottom: 32px;
}

/* ===== Intro split ===== */
.split-1, .split-2 {
  height: 50vh;
  width: 100%;
  position: fixed;
  left: 0;
  background-color: var(--paper);
  z-index: 40;
}
.split-1 {
  top: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: split-up 900ms ease-in-out 1.35s forwards;
}
.split-2 {
  top: 50vh;
  animation: split-down 900ms ease-in-out 1.35s forwards;
}
.split-1 .breath-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-bottom: 8vh;
  text-align: center;
}
.split-1 .breath-intro .breath-text {
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  color: var(--ink);
  max-width: 26ch;
}
.split-1 .breath-intro .breath-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--taupe);
}
.breath-line {
  height: 2px;
  width: 120px;
  background: var(--plum);
  transform-origin: center;
  animation: breathing 5.5s ease-in-out infinite;
}
@keyframes split-up { to { transform: translateY(-100%); } }
@keyframes split-down { to { transform: translateY(100%); } }
@keyframes breathing {
  0%, 100% { transform: scaleX(0.5); opacity: 0.65; }
  50% { transform: scaleX(1); opacity: 1; }
}

/* ===== Hero ===== */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 120px var(--pad) 80px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 92px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.hero .eyebrow { margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); }
.hero-name {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  color: var(--plum);
  margin: 8px 0 18px;
}
.hero-brief, .hero-statement {
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 50ch;
}
.hero-brief { color: var(--taupe); margin-bottom: 10px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.arch {
  border-radius: 50% 50% 0 0;
  overflow: hidden;
  background: var(--slate);
  box-shadow: 0 24px 48px -24px rgba(89, 30, 74, 0.4);
  border: 1px solid var(--line);
}
.arch img { width: 100%; display: block; aspect-ratio: 3 / 4; object-fit: cover; }
.hero-portrait { width: min(420px, 100%); justify-self: end; }
.hero-portrait .arch { width: 100%; }

/* ===== Services accordion ===== */
.servicios-accordion { max-width: 760px; }
.servicios-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 14px;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.servicios-item:hover {
  box-shadow: 0 14px 30px -24px rgba(89, 30, 74, 0.35);
  border-color: rgba(89, 30, 74, 0.3);
}
.servicios-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 600;
  font-family: var(--body);
  line-height: 1.4;
  color: var(--ink);
  transition: color 0.25s ease;
}
.servicios-item summary::-webkit-details-marker { display: none; }
.servicios-item summary::-moz-details-marker { display: none; }
.servicios-item summary .li-plus {
  font-family: var(--mono);
  font-size: 1.05rem;
  color: var(--plum);
  line-height: 1;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(89, 30, 74, 0.08);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.servicios-item summary i {
  margin-left: auto;
  color: var(--taupe);
  font-size: 0.85rem;
  transition: transform 0.3s ease, color 0.3s ease;
}
.servicios-item[open] summary .li-plus {
  transform: rotate(45deg);
  background: var(--plum);
  color: var(--paper);
}
.servicios-item[open] summary i {
  transform: rotate(180deg);
  color: var(--plum);
}
.servicios-item summary:hover { color: var(--plum); }
.servicios-item .servicios-desc {
  padding: 0 20px 20px 64px;
  color: var(--taupe);
  line-height: 1.7;
  font-size: 0.96rem;
  font-family: var(--body);
}


/* ===== Experience band ===== */
.experiencia { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.experiencia h2 { font-size: clamp(2rem, 4vw, 3rem); }
.experiencia .experiencia-p {
  color: rgba(242, 242, 242, 0.72);
  max-width: 56ch;
  margin-top: 16px;
  font-size: 1.02rem;
}
.experiencia-grid {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 48px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 12vw, 100px) var(--pad);
}
.experiencia-num {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(7rem, 20vw, 15rem);
  line-height: 1;
  text-align: right;
  color: rgba(242, 242, 242, 0.055);
  user-select: none;
  pointer-events: none;
}
.experiencia-cta { margin-top: 28px; }

/* ===== Chips ===== */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  max-width: 820px;
}
.chip {
  display: inline-block;
  font-size: 0.9rem;
  line-height: 1.15;
  padding: 11px 19px;
  border-radius: 999px;
  border: 1px solid rgba(38, 16, 32, 0.25);
  color: var(--ink);
  background: transparent;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  cursor: default;
}
.chip:hover {
  background: var(--plum);
  color: var(--paper);
  border-color: var(--plum);
}

/* ===== Gallery ===== */
.images-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-column-gap: 14px;
  grid-row-gap: 14px;
  max-width: 1000px;
  margin: 0 auto;
}
.images-grid-item { border-radius: 14px; overflow: hidden; }
.images-grid-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}
.images-grid-item-1 { grid-area: 1 / 1 / 2 / 7; }
.images-grid-item-2 { grid-area: 1 / 7 / 2 / 10; }
.images-grid-item-3 { grid-area: 1 / 10 / 2 / 13; }
.images-grid-item-4 { grid-area: 2 / 1 / 3 / 6; }
.images-grid-item-5 { grid-area: 2 / 6 / 3 / 11; }
.images-grid-item-6 { grid-area: 2 / 11 / 3 / 13; }
.images-grid-item-7 { grid-area: 3 / 1 / 4 / 13; }
@keyframes fade-up {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ===== Testimonials ===== */
.testimonial-card {
  flex-grow: 1;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 14px 30px -22px rgba(38, 16, 32, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 40px -22px rgba(89, 30, 74, 0.45);
}
.testimonial-card .quote-mark {
  font-family: var(--display);
  font-size: 3.6rem;
  line-height: 0.8;
  color: var(--plum);
  opacity: 0.3;
  display: block;
  margin-bottom: 14px;
}
.testimonial-card p { font-size: 1rem; line-height: 1.72; }
.testimonials-cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.testimonials-cards > * { flex: 1 1 300px; }
.testimonials-section h2 {
  background: rgba(89, 30, 74, 0.07);
  border-radius: 10px;
  padding: 0px 20px;
  margin: 34px 0 10px;
  display: inline-block;
}
.testimonials-section h3 {
  font-style: italic;
  color: var(--plum);
  margin-top: -8px;
}
.testimonials-section-testimonials {
  display: flex;
  gap: 22px;
  margin-top: 26px;
}
.testimonials-section-testimonials div { flex: 1 1 0px; }

/* ===== Contact ===== */
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.contacto-copy { max-width: 54ch; }
.contacto-copy em { color: var(--plum); font-style: normal; font-weight: 600; }
.contacto-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(89, 30, 74, 0.32), rgba(89, 30, 74, 0) 62%),
    linear-gradient(160deg, var(--ink), var(--slate) 70%);
  color: rgba(242, 242, 242, 0.92);
  border-radius: 24px;
  border: 1px solid rgba(89, 30, 74, 0.35);
  padding: 38px 32px 34px;
  box-shadow: 0 24px 48px -28px rgba(24, 37, 38, 0.55);
}
.contacto-card::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(183, 122, 159, 0.4), rgba(183, 122, 159, 0) 70%);
  pointer-events: none;
}
.c-eyebrow {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--plum-soft);
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}
.c-eyebrow::after {
  content: "";
  display: block;
  width: 38px;
  height: 2px;
  background: var(--plum-soft);
  margin-top: 8px;
}
.c-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px 0;
  border-top: 1px solid var(--line-light);
}
.c-row:first-of-type { border-top: 0; padding-top: 0; }
.c-row i {
  color: var(--plum-soft);
  font-size: 1.05rem;
  padding: 7px 0;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.c-row .c-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2px;
  display: block;
}
.c-row .c-value, .c-row .c-body {
  font-family: var(--body);
  font-size: 0.96rem;
  color: var(--paper);
  line-height: 1.5;
  word-break: break-word;
}
.c-row a {
  color: var(--paper);
  text-decoration: none;
  transition: color 0.25s ease;
}
.c-row a:hover { color: var(--plum-soft); text-decoration: underline; }
.c-note {
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(89, 30, 74, 0.22);
  border: 1px dashed rgba(183, 122, 159, 0.5);
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--body);
}
.c-map {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 0.94rem;
  color: var(--plum-soft);
  text-decoration: none;
  transition: color 0.25s ease;
}
.c-map i { transition: transform 0.25s ease; }
.c-map:hover { color: var(--paper); }
.c-map:hover i { transform: translateX(3px); }

/* ===== Page head (subpages) ===== */
.page-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(100px, 14vw, 150px) var(--pad) 40px;
}
.page-head .eyebrow { margin-bottom: 12px; }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.page-head .page-sub {
  color: var(--taupe);
  max-width: 56ch;
  font-size: 1.05rem;
  margin-top: 16px;
}

/* ===== About row ===== */
.about-section {
  display: flex;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  width: 100%;
  padding: 72px 0;
  max-width: var(--max);
  margin: 0 auto;
}
.about-section div { flex: 1 1 0px; }
.about-section h1, .about-section h2 { margin-bottom: 18px; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.about-section p { font-size: 1.05rem; line-height: 1.72; color: #3a3238; }
.about-section img {
  width: 100%;
  border-radius: 50% 50% 14px 14px;
  overflow: hidden;
  box-shadow: 0 20px 40px -28px rgba(38, 16, 32, 0.45);
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
}
.about-section img { width: 100%; display: block; }
.about-right {
  aspect-ratio: 4 / 4.6;
  background: var(--slate);
}
.about-right img { height: 100%; }
.about-areas {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px var(--pad) 80px;
}
.about-areas ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}
.about-areas li {
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.about-areas li:hover {
  background: var(--plum);
  color: var(--paper);
  border-color: var(--plum);
}

/* ===== Quote band ===== */
.quote-band {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(64px, 10vw, 110px) var(--pad);
}
.quote-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.quote-inner .breath-line { margin: 0 auto 28px; }
.quote-inner p {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.55;
  color: rgba(242, 242, 242, 0.92);
}

/* ===== Footer ===== */
footer {
  width: 100%;
  min-width: 100%;
  background: var(--ink);
  color: #e8e5e6;
  padding: clamp(72px, 10vw, 104px) var(--pad) 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max);
  margin: 0 auto;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-light);
}
.footer-brand .wordmark {
  display: block;
  color: var(--paper);
  font-size: 1.4rem;
  margin-bottom: 14px;
}
.footer-brand .wordmark em { color: var(--plum-soft); }
.footer-tag { max-width: 36ch; font-size: 0.98rem; line-height: 1.65; }
.footer-grid h4 {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
}
.footer-grid p { font-size: 0.98rem; line-height: 1.65; }
.footer-grid a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.98rem;
  transition: color 0.25s ease;
  display: block;
}
.footer-grid a:hover { color: var(--plum-soft); }
.footer-tel { font-family: var(--mono); font-size: 1.05rem; color: var(--paper); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 0 40px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.62);
}

/* ===== CTA band (testimonials page) ===== */
.cta-band {
  background: var(--plum);
  color: var(--paper);
  padding: clamp(64px, 8vw, 100px) var(--pad);
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.cta-band p { color: rgba(242, 242, 242, 0.75); margin: 12px auto 28px; max-width: 46ch; }
.cta-band .button .btn, .cta-band .button a {
  background: var(--paper);
  color: var(--plum);
  border-color: var(--paper);
}
.cta-band .button a:hover { background: var(--white); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-portrait { justify-self: start; width: min(380px, 100%); }
  .contacto-grid { grid-template-columns: 1fr; }
  .experiencia-grid { grid-template-columns: 1fr; }
  .experiencia-num { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 820px) {
  .images-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
  .images-grid-item-1 { grid-area: 1 / 1 / 2 / 5; }
  .images-grid-item-2 { grid-area: 1 / 5 / 2 / 7; }
  .images-grid-item-3 { grid-area: 2 / 4 / 3 / 7; }
  .images-grid-item-4 { grid-area: 2 / 1 / 3 / 4; }
  .images-grid-item-5 { display: none; }
  .images-grid-item-6 { display: none; }
  .images-grid-item-7 { display: none; }
}
@media (max-width: 699px) {
  .desktop-header { display: none; }
  .mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 72px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 30;
    padding: 0 var(--pad);
    background: rgba(242, 242, 242, 0.86);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }
  .mobile-header i { padding-left: 0; }
  .sidebar { margin-top: 72px; }
  .section { padding: 64px var(--pad); }
  .about-section { flex-direction: column; gap: 36px; width: 100%; }
  .about-section img { aspect-ratio: auto; }
  .split-1 h2 { font-size: 1.1rem; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; padding-bottom: 36px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas button, .hero-ctas a { width: 100%; justify-content: center; }
  .testimonials-section-testimonials {
    flex-direction: column;
    gap: 18px;
  }
  .testimonials-section-testimonials div {
    flex: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .split-1 { animation: none; transform: translateY(-100%); }
  .split-2 { animation: none; transform: translateY(100%); }
  .breath-line, .breath-intro .breath-line { animation: none; }
  .animated-element { opacity: 1; transform: none; transition: none; }
  .images-grid { opacity: 1; transform: none; }
  *, *::before, *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
