:root {
    --bg: #f5fafb;
    --bg-strong: #eaf5f7;
    --surface: #ffffff;
    --surface-soft: #f7fbfc;
    --surface-alt: #edf6f8;
    --ink: #102437;
    --muted: #5e7385;
    --line: rgba(15, 76, 129, 0.14);
    --line-strong: rgba(15, 76, 129, 0.2);
    --primary: #0f4c81;
    --primary-deep: #092b49;
    --teal: #1499a4;
    --green: #3ca477;
    --success: #1d8f66;
    --danger: #a53a57;
    --shadow: 0 22px 60px rgba(9, 43, 73, 0.12);
    --shadow-soft: 0 14px 34px rgba(9, 43, 73, 0.08);
    --radius-lg: 32px;
    --radius-md: 24px;
    --radius-sm: 18px;
    --header-height: 84px;
    --container: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "metropolis", "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(20, 153, 164, 0.12), transparent 30%),
        radial-gradient(circle at top right, rgba(15, 76, 129, 0.12), transparent 32%),
        linear-gradient(180deg, #f9fcfd 0%, #f3f9fb 100%);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

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

img,
iframe,
svg {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
    background: transparent;
    cursor: pointer;
}

main,
section {
    position: relative;
}

section[id] {
    scroll-margin-top: calc(var(--header-height) + 24px);
}

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
}

.section {
    padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.section-soft {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(237, 246, 248, 0.88));
}

.section-heading {
    max-width: 760px;
    margin-bottom: 2.75rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.85rem;
    color: var(--teal);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-title {
    margin: 0;
    color: var(--primary-deep);
    font-size: clamp(2rem, 5vw, 3.45rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.section-intro {
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 62ch;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2000;
    transform: translateY(-180%);
    background: var(--primary-deep);
    color: #ffffff;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    transition: transform 0.25s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(245, 250, 251, 0.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.site-header.is-scrolled {
    border-color: var(--line);
    box-shadow: 0 12px 32px rgba(9, 43, 73, 0.08);
    background: rgba(245, 250, 251, 0.96);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--header-height);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    min-width: 0;
}

.brand-mark {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--teal));
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.14em;
    box-shadow: 0 16px 32px rgba(15, 76, 129, 0.25);
}

.brand-copy {
    min-width: 0;
}

.brand-copy strong,
.brand-copy small {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-copy strong {
    color: var(--primary-deep);
    font-size: 1rem;
}

.brand-copy small {
    color: var(--muted);
    font-size: 0.86rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.site-nav a {
    position: relative;
    color: var(--muted);
    font-size: 0.97rem;
    font-weight: 600;
    padding: 0.3rem 0;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.2rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--teal), var(--primary));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--primary-deep);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.menu-toggle span:not(.sr-only) {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--primary-deep);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

body.nav-open .menu-toggle span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

body.nav-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

body.nav-open .menu-toggle span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 52px;
    padding: 0 1.35rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), var(--teal));
    box-shadow: 0 16px 36px rgba(15, 76, 129, 0.24);
}

.button-secondary {
    color: var(--primary-deep);
    background: var(--surface);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-soft);
}

.button-light {
    color: var(--primary-deep);
    background: rgba(255, 255, 255, 0.92);
}

.button:focus-visible,
.site-nav a:focus-visible,
.social-link:focus-visible,
.floating-whatsapp:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
details summary:focus-visible,
.checkbox-row:focus-within {
    outline: 3px solid rgba(20, 153, 164, 0.24);
    outline-offset: 3px;
}

.hero-section {
    overflow: hidden;
    padding-top: clamp(4.75rem, 8vw, 7rem);
}

.hero-section::before,
.hero-section::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.hero-section::before {
    top: -8rem;
    left: -5rem;
    width: 20rem;
    height: 20rem;
    background: radial-gradient(circle, rgba(20, 153, 164, 0.18), transparent 68%);
}

.hero-section::after {
    right: -3rem;
    bottom: -6rem;
    width: 26rem;
    height: 26rem;
    background: radial-gradient(circle, rgba(15, 76, 129, 0.16), transparent 70%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 2rem;
    align-items: start;
}

.hero-copy h1 {
    margin: 0;
    color: var(--primary-deep);
    font-size: clamp(2.65rem, 6.8vw, 5rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.subheadline {
    margin: 1rem 0 0;
    color: var(--primary);
    font-size: clamp(1.1rem, 2.4vw, 1.45rem);
    font-weight: 700;
    max-width: 54ch;
}

.hero-text {
    margin: 1rem 0 0;
    max-width: 58ch;
    color: var(--muted);
    font-size: 1.05rem;
}

.hero-credentials,
.hero-highlights,
.cedulas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-credentials {
    margin: 1.5rem 0 1rem;
}

.hero-highlights {
    margin: 0 0 1.75rem;
    padding: 0;
    list-style: none;
}

.hero-highlights li {
    padding: 0.72rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line);
    color: var(--primary-deep);
    font-weight: 600;
    box-shadow: var(--shadow-soft);
}

.hero-actions,
.testimonial-actions,
.contact-actions,
.map-actions,
.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.hero-note {
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: 0.97rem;
    max-width: 58ch;
}

.pill {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    color: var(--primary-deep);
    font-size: 0.94rem;
    font-weight: 700;
    box-shadow: var(--shadow-soft);
}

.hero-visual,
.about-side {
    display: grid;
    gap: 1rem;
}

.profile-card,
.appointment-card,
.trust-card,
.credential-card,
.info-card,
.placeholder-panel,
.testimonial-card,
.service-card,
.helper-card,
.difference-card,
.process-card,
.map-card,
.contact-card,
.form-card,
.privacy-card,
.faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.profile-card {
    padding: 1rem;
    border-radius: var(--radius-lg);
}

.photo-placeholder {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 360px;
    padding: 1.5rem;
    border-radius: 26px;
    color: #ffffff;
}

.photo-placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(9, 43, 73, 0.18) 10%, transparent 10%, transparent 50%, rgba(9, 43, 73, 0.18) 50%, rgba(9, 43, 73, 0.18) 60%, transparent 60%, transparent 100%),
        linear-gradient(135deg, rgba(9, 43, 73, 0.08), rgba(9, 43, 73, 0.02));
    background-size: 34px 34px, auto;
    mix-blend-mode: screen;
}

.photo-doctor {
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 28%),
        linear-gradient(135deg, rgba(15, 76, 129, 0.94), rgba(20, 153, 164, 0.86));
}

.photo-room {
    min-height: 300px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.2), transparent 24%),
        linear-gradient(135deg, rgba(15, 76, 129, 0.86), rgba(60, 164, 119, 0.82));
}

.photo-placeholder span,
.photo-placeholder small {
    position: relative;
    z-index: 1;
}

.photo-placeholder span {
    font-size: 1.45rem;
    font-weight: 700;
}

.photo-placeholder small {
    margin-top: 0.35rem;
    font-size: 0.95rem;
    opacity: 0.92;
}

.profile-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    padding-top: 1rem;
}

.metric {
    padding: 1rem;
    border-radius: 20px;
    background: var(--surface-alt);
    border: 1px solid rgba(15, 76, 129, 0.08);
}

.metric strong,
.trust-card strong,
.contact-row span {
    display: block;
    color: var(--teal);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.metric span {
    display: block;
    margin-top: 0.4rem;
    color: var(--primary-deep);
    font-weight: 700;
    line-height: 1.45;
}

.appointment-card {
    padding: 1.4rem;
    color: #ffffff;
    background: linear-gradient(140deg, rgba(9, 43, 73, 0.98), rgba(15, 76, 129, 0.95));
}

.appointment-card h2,
.info-card h3,
.helper-card h3,
.form-card h3,
.privacy-card h3 {
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.2;
}

.appointment-card p,
.helper-card p,
.form-lead,
.placeholder-panel p,
.privacy-card p,
.privacy-card li,
.form-helper {
    color: inherit;
}

.appointment-card p {
    margin: 0.65rem 0 0;
    color: rgba(255, 255, 255, 0.82);
}

.channel-list {
    margin: 1.2rem 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.7rem;
}

.channel-list li {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.8rem 0.9rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
}

.channel-list span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.86rem;
}

.channel-list strong {
    color: #ffffff;
    font-size: 1rem;
}

.trust-section {
    padding-top: 0;
}

.trust-grid,
.credential-grid,
.testimonial-grid,
.service-grid,
.difference-grid,
.process-grid {
    display: grid;
    gap: 1rem;
}

.trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-card {
    padding: 1.3rem;
}

.trust-card span {
    display: block;
    margin-top: 0.45rem;
    color: var(--primary-deep);
    font-weight: 700;
}

.about-grid,
.cases-layout,
.contact-grid,
.form-grid {
    display: grid;
    gap: 1rem;
}

.about-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
}

.prose p {
    margin: 0;
    color: var(--muted);
    font-size: 1.03rem;
}

.prose p + p {
    margin-top: 1rem;
}

.cedulas {
    margin: 1.5rem 0 1.15rem;
}

.credential-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 0 1.5rem;
}

.credential-card,
.info-card,
.helper-card,
.difference-card,
.process-card,
.map-card,
.contact-card,
.form-card,
.privacy-card {
    padding: 1.4rem;
}

.credential-card strong {
    display: block;
    color: var(--primary-deep);
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.credential-card p {
    margin: 0;
    color: var(--muted);
}

.detail-list {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.8rem;
}

.detail-list li {
    display: flex;
    gap: 0.75rem;
    color: var(--primary-deep);
    font-weight: 600;
}

.detail-list li::before {
    content: "";
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    margin-top: 0.45rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--teal), var(--green));
}

.placeholder-panel p {
    margin: 0.9rem 0 0;
    color: var(--muted);
}

.testimonial-grid,
.service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card,
.service-card,
.difference-card,
.process-card {
    height: 100%;
}

.testimonial-card {
    position: relative;
    padding: 1.45rem;
}

.testimonial-card::before {
    content: "“";
    display: inline-block;
    color: var(--teal);
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 0.8rem;
}

.testimonial-card p {
    margin: 0;
    color: var(--primary-deep);
    font-size: 1rem;
    line-height: 1.7;
}

.testimonial-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
    color: var(--muted);
    font-size: 0.94rem;
}

.testimonial-avatar {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--teal));
}

.testimonial-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.4rem;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(237, 246, 248, 0.96));
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.testimonial-cta h3 {
    margin: 0;
    color: var(--primary-deep);
    font-size: 1.3rem;
}

.testimonial-cta p {
    margin: 0.5rem 0 0;
    color: var(--muted);
}

.testimonial-disclaimer {
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.service-card {
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.service-index,
.difference-number,
.process-number {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    color: #ffffff;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--teal));
}

.service-card h3,
.difference-card h3,
.process-card h3 {
    margin: 1rem 0 0.7rem;
    color: var(--primary-deep);
    font-size: 1.12rem;
    line-height: 1.3;
}

.service-card p,
.difference-card p,
.process-card p {
    margin: 0;
    color: var(--muted);
}

.cases-layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: start;
}

.case-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.case-item {
    padding: 1rem;
    border-radius: 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--primary-deep);
    font-weight: 700;
    box-shadow: var(--shadow-soft);
}

.helper-card {
    background: linear-gradient(160deg, rgba(9, 43, 73, 0.98), rgba(15, 76, 129, 0.92));
    color: #ffffff;
}

.helper-card p {
    margin: 0.75rem 0 1.2rem;
    color: rgba(255, 255, 255, 0.82);
}

.difference-grid,
.process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.faq-item {
    padding: 0 1.2rem;
}

.faq-item[open] {
    box-shadow: var(--shadow);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 0;
    color: var(--primary-deep);
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    color: var(--teal);
    font-size: 1.35rem;
    line-height: 1;
}

.faq-item[open] summary::after {
    content: "–";
}

.faq-item p {
    margin: 0 0 1.15rem;
    color: var(--muted);
}

.contact-grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    align-items: stretch;
}

.map-frame {
    overflow: hidden;
    border-radius: 22px;
    min-height: 360px;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: 0;
}

.map-actions {
    margin-top: 1rem;
}

.contact-list {
    display: grid;
    gap: 0.85rem;
}

.contact-row {
    padding: 1rem;
    border-radius: 20px;
    background: var(--surface-alt);
    border: 1px solid rgba(15, 76, 129, 0.08);
}

.contact-row a {
    display: block;
    margin-top: 0.35rem;
    color: var(--primary-deep);
    font-weight: 700;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    background: var(--surface-alt);
    border: 1px solid rgba(15, 76, 129, 0.08);
    color: var(--primary-deep);
    font-weight: 700;
}

.social-badge {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--teal));
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
}

.contact-actions {
    margin-top: 1rem;
}

.form-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    margin-top: 1rem;
}

.form-card h3,
.privacy-card h3 {
    color: var(--primary-deep);
}

.form-lead,
.privacy-card p,
.privacy-card li {
    margin: 0.75rem 0 0;
    color: var(--muted);
}

.appointment-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.2rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.48rem;
}

.field-full {
    grid-column: 1 / -1;
}

label {
    color: var(--primary-deep);
    font-size: 0.95rem;
    font-weight: 700;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid rgba(15, 76, 129, 0.16);
    border-radius: 16px;
    padding: 0.95rem 1rem;
    background: var(--surface-soft);
    color: var(--ink);
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
    min-height: 132px;
    resize: vertical;
}

input::placeholder,
textarea::placeholder {
    color: #8a9dac;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--teal);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(20, 153, 164, 0.12);
    outline: none;
}

.checkbox-row {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--muted);
    font-weight: 500;
}

.checkbox-row input {
    width: 1.1rem;
    height: 1.1rem;
    margin: 0.15rem 0 0;
    accent-color: var(--primary);
}

.checkbox-row a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.form-helper {
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: 0.93rem;
}

.form-result {
    margin-top: 0.85rem;
    min-height: 1.5rem;
    font-weight: 600;
}

.form-result.is-success {
    color: var(--success);
}

.form-result.is-error {
    color: var(--danger);
}

.privacy-list {
    margin: 1rem 0 0;
    padding-left: 1.1rem;
}

.privacy-list li + li {
    margin-top: 0.55rem;
}

.site-footer {
    padding: 2rem 0 3rem;
    background: rgba(255, 255, 255, 0.8);
    border-top: 1px solid var(--line);
}

.footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-copy p {
    margin: 0;
    color: var(--muted);
}

.footer-copy p + p {
    margin-top: 0.4rem;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-nav a {
    color: var(--muted);
    font-weight: 600;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
    color: var(--primary);
}

.floating-whatsapp {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1200;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #1a9f63, #25d366);
    color: #ffffff;
    box-shadow: 0 18px 40px rgba(26, 159, 99, 0.35);
}

.floating-whatsapp svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1120px) {
    .hero-grid,
    .about-grid,
    .cases-layout,
    .contact-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid,
    .difference-grid,
    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .testimonial-grid,
    .service-grid,
    .faq-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 0.7rem);
        left: 1rem;
        right: 1rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        padding: 1rem;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .site-nav a {
        padding: 0.8rem 0.75rem;
        border-radius: 14px;
    }

    .site-nav a:hover,
    .site-nav a:focus-visible {
        background: var(--surface-alt);
    }

    .site-nav a::after {
        display: none;
    }

    body.nav-open .site-nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
}

@media (max-width: 760px) {
    .container {
        width: min(calc(100% - 1.25rem), var(--container));
    }

    .section {
        padding: 4rem 0;
    }

    .header-inner {
        gap: 0.75rem;
        min-height: 74px;
    }

    .brand {
        flex: 1 1 0;
        min-width: 0;
    }

    .brand-copy small {
        display: none;
    }

    .brand-copy strong {
        font-size: 0.92rem;
    }

    .brand-mark {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .header-cta {
        min-height: 44px;
        padding: 0 0.9rem;
        font-size: 0.88rem;
    }

    .trust-grid,
    .credential-grid,
    .testimonial-grid,
    .service-grid,
    .difference-grid,
    .process-grid,
    .faq-list,
    .case-list,
    .appointment-form,
    .profile-details {
        grid-template-columns: 1fr;
    }

    .testimonial-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .button,
    .testimonial-actions .button,
    .contact-actions .button,
    .map-actions .button,
    .form-actions .button {
        width: 100%;
    }

    .social-links {
        flex-direction: column;
    }

    .floating-whatsapp {
        right: 0.75rem;
        bottom: 0.75rem;
        padding: 0.85rem;
        border-radius: 22px;
    }

    .floating-whatsapp__label {
        display: none;
    }

    .footer-inner {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
