:root {
  --paper: #f8faf6;
  --white: #fff;
  --ink: #112d2b;
  --text: #465b57;
  --accent: #0c6c63;
  --deep: #073b3d;
  --line: #dbe5df;
  --mint: #e7f1eb;
  --soft-mint: #b9e4d2;
  --display: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 var(--sans); }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, figure { margin: 0; }
img { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, summary { font: inherit; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
:focus-visible { outline: 2px solid #168775; outline-offset: 5px; }
section[id], article[id] { scroll-margin-top: 90px; }
::selection { background: var(--soft-mint); color: var(--deep); }

.wrap { width: min(1184px, calc(100% - 96px)); margin-inline: auto; }
.section { padding: clamp(76px, 9vw, 136px) 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(36px, 8vw, 114px); }
.section-copy { display: grid; gap: 19px; align-content: start; }
.section-copy > p:not(.eyebrow, .phone) { color: var(--text); }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.052em; }
h1 { font-size: clamp(3.1rem, 5vw, 4.85rem); line-height: 1.035; }
h2 { font-size: clamp(2.65rem, 4.9vw, 4.5rem); line-height: 1.025; }
h1 em, h2 em { font-weight: inherit; color: var(--accent); }
h3 { font-weight: 600; line-height: 1.3; }
.eyebrow, .list-label { font-size: .72rem; font-weight: 700; letter-spacing: .16em; line-height: 1.45; text-transform: uppercase; }
.eyebrow { color: var(--accent); display: flex; align-items: center; gap: 10px; margin-bottom: 21px; }
.eyebrow span { width: 18px; height: 1px; background: currentColor; flex: 0 0 auto; }
.section-copy > .eyebrow { margin-bottom: 0; }
.section-copy h2 { margin-bottom: 10px; }
.arrow { width: 19px; height: 19px; flex: 0 0 auto; }

.skip-link { position: absolute; z-index: 10; top: 12px; left: 12px; padding: 10px 14px; background: white; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.header { position: relative; z-index: 3; border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { min-height: 81px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; line-height: 1.2; }
.brand-mark { width: 43px; height: 43px; flex: 0 0 auto; border-radius: 50%; background: #08635f url("./marca-leonardo-benetti.png") 52% 13% / 285% auto no-repeat; }
.brand strong { display: block; font-size: .9rem; font-weight: 750; letter-spacing: .03em; }
.brand small { display: block; margin-top: 5px; color: var(--accent); font-size: .63rem; text-transform: uppercase; font-weight: 650; letter-spacing: .21em; }
.desktop-nav { display: flex; align-items: center; gap: clamp(15px, 2.6vw, 36px); font-size: .84rem; font-weight: 550; color: #37524e; }
.desktop-nav a:hover, .mobile-nav nav a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.header-book { border: 1px solid #9abcb0; border-radius: 100px; padding: 8px 15px 8px 17px; color: var(--accent); display: inline-flex; align-items: center; gap: 10px; font-size: .84rem; font-weight: 700; }
.header-book:hover { background: var(--mint); }
.mobile-nav { display: none; }

.hero { padding: 54px 0 0; background: radial-gradient(ellipse at 84% 24%, #e9f1eb 0, transparent 55%), var(--paper); }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero-copy { padding: 20px 0; }
.hero h1 em { display: block; margin-top: .07em; }
.hero-lead { color: var(--ink); font-size: clamp(1.02rem, 1.43vw, 1.2rem); line-height: 1.55; font-weight: 550; max-width: 46ch; margin-top: 24px; }
.hero-description { color: var(--text); font-size: .95rem; max-width: 50ch; margin-top: 13px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 17px 24px; margin-top: 29px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 12px 20px; border-radius: 100px; background: var(--accent); color: var(--white); font-size: .88rem; font-weight: 700; line-height: 1.3; width: fit-content; transition: background .2s ease; }
.button:hover { background: #07544d; }
.hero-more, .text-link { width: fit-content; display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: .87rem; font-weight: 700; }
.hero-more:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero-portrait { position: relative; align-self: stretch; min-height: 490px; overflow: hidden; isolation: isolate; background: #15525c; border-radius: 48% 48% 18px 18px / 14% 14% 18px 18px; }
.hero-portrait img { position: absolute; left: -13%; width: 113%; height: 100%; max-width: none; object-fit: cover; object-position: center 18%; }
.hero-portrait::after { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(0deg,#062e33f5 1%,#062e3399 13%,transparent 39%),linear-gradient(90deg,#083c4566,transparent 21%); }
.hero-portrait figcaption { position: absolute; z-index: 2; inset: auto 0 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; padding: clamp(19px, 2.6vw, 32px); color: var(--white); }
.hero-portrait figcaption strong { display: block; font: 400 clamp(1.35rem, 2.15vw, 1.8rem)/1.15 var(--display); letter-spacing: -.035em; }
.hero-portrait figcaption span { color: #e1f3ef; display: block; font-size: .74rem; letter-spacing: .045em; margin-top: 4px; }
.hero-portrait .registration { white-space: nowrap; border: 1px solid #ffffff70; border-radius: 100px; padding: 4px 9px; }
.credentials { margin-top: 39px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); min-height: 78px; align-items: center; }
.credentials span { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 10px; color: #325a52; font-weight: 650; font-size: .82rem; text-align: center; }
.credentials span + span { border-left: 1px solid var(--line); }
.credentials i { width: 6px; height: 6px; flex: 0 0 auto; border: 1px solid #318e7e; transform: rotate(45deg); }

.movement { background: #fff; border-top: 1px solid var(--line); }
.movement .split { align-items: center; }
.motion-art { height: clamp(118px, 17vw, 205px); position: relative; margin-top: 35px; overflow: hidden; border-radius: 14px; background: linear-gradient(130deg,#0b4041,#0c6960); }
.motion-art svg { display: block; width: 100%; height: 100%; }
.motion-art span { position: absolute; right: 13px; bottom: 12px; padding: 4px 9px; background: #073b3d; border-radius: 100px; font-size: .57rem; letter-spacing: .13em; color: #dbf0e9; text-transform: uppercase; }
.movement .closing-note { padding-left: 16px; border-left: 2px solid #80ae9e; color: var(--accent) !important; font-weight: 650; }
.services { background: #edf4ee; }
.service-intro { align-items: end; margin-bottom: 40px; }
.service-intro > p { color: var(--text); max-width: 43ch; padding-bottom: 3px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.service-card { border: 1px solid var(--line); background: #fbfdfb; border-radius: 14px; padding: 25px; min-height: 202px; }
.service-icon, .award-icon { background: var(--mint); color: var(--accent); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto; }
.service-card h3 { margin-top: 17px; font-size: 1.08rem; }
.service-card p { color: var(--text); font-size: .9rem; margin-top: 7px; }
.service-link { padding: 0; color: #fff; background: var(--deep); overflow: hidden; display: flex; }
.service-link a { width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 25px; background: radial-gradient(ellipse at 95% 5%,#147367,transparent 76%); transition: background-color .2s ease; }
.service-link a:hover { background-color: #145454; }
.service-link a:focus-visible { outline-color: var(--soft-mint); outline-offset: -6px; }
.service-link span { font: 400 clamp(1.25rem, 2.3vw, 1.95rem)/1.12 var(--display); letter-spacing: -.02em; max-width: 15ch; }
.service-link .arrow { margin-bottom: 3px; }

.approach { background: var(--deep); color: #f1f9f5; }
.approach .split { align-items: center; }
.approach .eyebrow, .approach h2 em, .contact .eyebrow, .contact h2 em { color: var(--soft-mint); }
.approach .section-copy > p:not(.eyebrow), .contact .section-copy > p:not(.phone) { color: #d4e9e2; }
.approach-list { border: 1px solid #64928b82; background: #124849; border-radius: 17px; padding: clamp(21px, 3.2vw, 43px); }
.approach-list .list-label { color: var(--soft-mint); margin-bottom: 13px; }
.approach-list li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid #96b9b34d; }
.approach-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.approach-list li svg { color: var(--soft-mint); width: 18px; height: 18px; flex: 0 0 auto; }

.about { background: var(--paper); }
.about .split { align-items: center; row-gap: 40px; }
.bio-brand { overflow: hidden; border-radius: 18px; background: #08464d; }
.bio-brand img { width: 100%; height: auto; }
.strong-copy { font-weight: 700; }
.award { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr 1.4fr; align-items: center; gap: 18px 23px; background: #eef4ee; border: 1px solid var(--line); border-radius: 14px; padding: 24px 28px; }
.award .list-label { color: var(--accent); }
.award h3 { margin-top: 4px; }
.award > p { font-size: .91rem; color: var(--text); }

.consultation { background: #fff; border-top: 1px solid var(--line); }
.step-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: clamp(12px, 2vw, 28px); }
.step-grid li { border-top: 1px solid #89b1a6; padding: 18px 0 8px; }
.step-grid li > span { display: block; color: var(--accent); font: italic 400 2.2rem/1 var(--display); margin-bottom: 20px; }
.step-grid h3 { margin-bottom: 8px; font-size: 1.04rem; }
.step-grid p { color: var(--text); font-size: .9rem; }
.consultation-detail { margin-top: 33px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.consultation-detail summary { color: var(--accent); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 4px; font-size: .94rem; font-weight: 700; }
.consultation-detail summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.consultation-detail p { color: var(--text); max-width: 78ch; padding: 0 4px 18px; }
.consultation-detail[open] .detail-icon { transform: rotate(45deg); }

.contact { background: radial-gradient(ellipse at 92% 22%,#10625b 0, transparent 67%), var(--deep); color: #f1f9f5; }
.contact-grid { align-items: center; }
.contact .section-copy { gap: 12px; }
.button-light { background: #d5efdf; color: #124b42; margin-top: 10px; }
.button-light:hover { background: #eef9f2; }
.phone { color: #d4e9e2; font-size: .86rem; letter-spacing: .03em; }
.footer { background: var(--paper); }
.footer-inner { padding: 22px 0; display: flex; gap: 14px; align-items: center; justify-content: space-between; }
.footer-inner > span { font-size: .82rem; color: var(--text); }
.footer-inner .text-link svg { width: 17px; height: 17px; }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .hero-grid { gap: 38px; }
  .hero-portrait { min-height: 465px; }
  .split { gap: 48px; }
}
@media (max-width: 850px) {
  .header-inner { min-height: 70px; gap: 12px; }
  .desktop-nav { display: none; }
  .header-book { margin-left: auto; }
  .mobile-nav { position: relative; display: block; }
  .mobile-nav summary { color: var(--accent); border: 1px solid #9abcb0; border-radius: 50%; width: 41px; height: 41px; display: grid; place-items: center; }
  .mobile-nav nav { position: absolute; top: calc(100% + 12px); right: 0; width: 200px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 12px 35px #163b3520; }
  .mobile-nav nav a { display: block; padding: 8px 11px; font-size: .9rem; }
  .hero h1 { font-size: clamp(2.7rem, 5.7vw, 4rem); }
  .hero-grid { grid-template-columns: 1fr .9fr; gap: 25px; }
  .hero-portrait { min-height: 390px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { gap: 34px; }
  .award { grid-template-columns: auto 1fr; }
  .award > p { grid-column: 2; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 40px); }
  .section { padding: 64px 0; }
  .split, .hero-grid { grid-template-columns: 1fr; gap: 27px; }
  .hero { padding-top: 33px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(2.67rem, 9.5vw, 3.8rem); }
  .hero-lead { margin-top: 19px; }
  .hero-actions { margin-top: 24px; }
  .hero-portrait { min-height: 0; height: clamp(330px, 108vw, 440px); }
  .hero-portrait img { object-position: center 17%; }
  .credentials { margin-top: 25px; padding: 9px 0 14px; grid-template-columns: 1fr; gap: 0; }
  .credentials span { justify-content: flex-start; text-align: left; padding: 7px 3px; }
  .credentials span + span { border-left: 0; }
  .service-intro { margin-bottom: 25px; gap: 18px; }
  .service-grid { gap: 10px; }
  .service-card { padding: 15px; min-height: 0; }
  .service-link { padding: 0; }
  .service-link a { padding: 15px; }
  .service-card h3 { font-size: .99rem; margin-top: 13px; overflow-wrap: anywhere; }
  .service-card p { font-size: .83rem; }
  .service-icon { width: 37px; height: 37px; }
  .service-icon svg { width: 20px; height: 20px; }
  .about .split { row-gap: 24px; }
  .bio-brand { grid-row: 2; }
  .award { gap: 12px; padding: 16px; }
  .step-grid { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 21px; }
  .step-grid li > span { margin-bottom: 12px; }
  .footer-inner { flex-wrap: wrap; }
  .footer-inner > span { order: 1; width: 100%; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 32px); }
  .header-book { padding-inline: 10px; }
  .header-book .arrow { display: none; }
  .brand strong { font-size: .8rem; }
  .brand-mark { width: 37px; height: 37px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-link a { min-height: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

