﻿@import url("https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Bitter:wght@500;600;700&display=swap");

:root {
    --max-width: 1180px;
    --radius-lg: 22px;
    --radius-md: 14px;
    --shadow-soft: 0 18px 45px rgba(77, 33, 67, 0.12);
    --bg: #fff4fa;
    --surface: #ffffff;
    --text: #332235;
    --muted: #725468;
    --line: #f0d6e5;
    --primary: #d84b8d;
    --primary-strong: #a83269;
    --accent: #dc5b85;
    --brand-sky: #49b7df;
    --brand-rose: #dc5b85;
    --brand-gold: #f2b54b;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Sora", "Segoe UI", sans-serif;
    line-height: 1.6;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 18%, rgba(220, 91, 133, 0.22), transparent 34%),
        radial-gradient(circle at 84% 8%, rgba(73, 183, 223, 0.18), transparent 30%),
        radial-gradient(circle at 74% 78%, rgba(242, 181, 75, 0.16), transparent 33%),
        linear-gradient(160deg, #fff5fa 0%, #fffcfe 55%, #fff3f8 100%);
}

a {
    color: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(240, 214, 229, 0.92);
    background: rgba(255, 248, 252, 0.94);
    backdrop-filter: blur(7px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(216, 75, 141, 0.28);
    padding: 4px;
}

.brand-text {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text strong {
    font-size: 0.95rem;
}

.brand-text small {
    margin-top: 0.2rem;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.3rem;
}

.nav a {
    text-decoration: none;
    padding: 0.44rem 0.72rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
    color: var(--primary-strong);
    background: rgba(216, 75, 141, 0.12);
    transform: translateY(-1px);
}

.nav a[aria-current="page"] {
    color: #ffffff;
    background: linear-gradient(130deg, var(--primary), #bf3a79);
}

main {
    padding: 2rem 0 3rem;
}

main > section {
    animation: rise-fade 480ms ease both;
}

.hero,
.page-hero,
.section-block,
.cta-banner {
    border-radius: var(--radius-lg);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(2rem, 4vw, 3rem);
    background: linear-gradient(155deg, #a83269 0%, #d84b8d 52%, #49b7df 100%);
    color: #f5fffa;
    box-shadow: var(--shadow-soft);
}

.hero::after {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    right: -78px;
    top: -92px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.28) 0%, transparent 72%);
}

.hero-home {
    background-image:
        linear-gradient(125deg, rgba(74, 20, 53, 0.88) 0%, rgba(168, 50, 105, 0.78) 45%, rgba(73, 183, 223, 0.72) 100%),
        url("../img/villota/villota-exterior-04.jpeg");
    background-size: cover;
    background-position: center;
}

.eyebrow {
    display: inline-block;
    margin: 0 0 0.8rem;
    padding: 0.28rem 0.72rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #7a1f4b;
    background: rgba(255, 244, 251, 0.92);
}

.hero .eyebrow {
    margin-bottom: 1.1rem;
    color: #561231;
    background: rgba(255, 247, 252, 0.97);
}

h1,
h2,
h3 {
    margin-top: 0;
    line-height: 1.25;
}

h1,
h2 {
    font-family: "Bitter", "Georgia", serif;
}

.hero h1,
.page-hero h1 {
    margin-bottom: 0.8rem;
}

.hero p,
.page-hero p,
.section-block p,
.info-card p,
.cta-banner p,
.team-card p,
.resource-item,
blockquote {
    margin: 0;
    color: inherit;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.btn {
    display: inline-block;
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 0.7rem 1.2rem;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

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

.btn-primary {
    color: #ffffff;
    background: linear-gradient(120deg, #d84b8d, #bf3a79);
    box-shadow: 0 10px 22px rgba(216, 75, 141, 0.35);
}

.btn-outline {
    border-color: rgba(216, 75, 141, 0.42);
    color: var(--primary-strong);
    background: rgba(216, 75, 141, 0.08);
}

.btn-outline:hover,
.btn-outline:focus-visible {
    background: rgba(216, 75, 141, 0.16);
}

.hero .btn-outline,
.cta-banner .btn-outline {
    border-color: rgba(255, 255, 255, 0.58);
    color: #ffffff;
    background: rgba(0, 0, 0, 0.08);
}

.hero .btn-outline:hover,
.hero .btn-outline:focus-visible,
.cta-banner .btn-outline:hover,
.cta-banner .btn-outline:focus-visible {
    background: rgba(0, 0, 0, 0.2);
}

.page-hero {
    padding: clamp(1.5rem, 3vw, 2rem);
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.page-hero p {
    color: var(--muted);
}

.section-block {
    margin-top: 1rem;
    padding: clamp(1.3rem, 3vw, 1.8rem);
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.section-block h2 {
    margin-bottom: 0.8rem;
}

.section-action {
    margin-top: 1.15rem;
}

.split-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 1rem;
    align-items: stretch;
}

.split-media img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
}

.split-media iframe {
    width: 100%;
    height: 100%;
    min-height: 280px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.split-copy {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.welcome-copy > p:not(.section-note) {
    text-align: justify;
    text-justify: inter-word;
}

.map-media img {
    min-height: 320px;
}

.map-media iframe {
    min-height: 320px;
}

.cards-grid {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    margin-top: 0.9rem;
}

.compact-grid {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.info-card {
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: linear-gradient(165deg, #ffffff 0%, #fff5fb 100%);
}

.info-card h3 {
    margin-bottom: 0.45rem;
    font-size: 1rem;
}

.info-card p {
    color: var(--muted);
    font-size: 0.92rem;
}

.audience-strip .pill-list {
    margin-top: 0.8rem;
}

.service-detail-card {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.service-label {
    margin-top: 0.3rem !important;
    font-size: 0.82rem !important;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--primary-strong) !important;
}

.service-list {
    margin-top: 0.25rem;
    padding-left: 1rem;
    font-size: 0.89rem;
}

.service-list li + li {
    margin-top: 0.3rem;
}

.team-preview-grid .photo-card img {
    aspect-ratio: 4 / 5;
    height: auto;
    object-position: center 18%;
}

.faq-list {
    display: grid;
    gap: 0.65rem;
    margin-top: 0.8rem;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff6fb;
    padding: 0.75rem 0.9rem;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--primary-strong);
}

.faq-item p {
    margin-top: 0.55rem !important;
    color: var(--muted);
    font-size: 0.9rem;
}

.testimonial-card p:first-child {
    font-style: italic;
}

.cards-with-media .media-card {
    padding-top: 0.75rem;
}

.media-card img {
    display: block;
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--line);
    margin-bottom: 0.65rem;
}

.home-overview-grid .infrastructure-card img {
    object-position: center 58%;
}

.mission-values-grid .media-card {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.mission-values-grid .media-card img {
    height: 180px;
    object-fit: cover;
}

.mission-values-grid .media-card p {
    text-align: justify;
    text-justify: inter-word;
}

.mission-values-grid .media-card .check-list {
    margin-top: 0.1rem;
}

.text-link {
    display: inline-block;
    margin-top: 0.55rem;
    color: var(--primary-strong);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
    text-decoration: underline;
}

.team-grid {
    display: grid;
    gap: 0.95rem;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    margin-top: 0.85rem;
}

.single-team {
    grid-template-columns: minmax(230px, 320px);
}

.team-card {
    padding: 0.9rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: linear-gradient(165deg, #ffffff 0%, #fff5fb 100%);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.team-card-clickable {
    cursor: pointer;
}

.team-card-clickable:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(77, 33, 67, 0.18);
    border-color: #e8bdd2;
}

.team-card-clickable:focus-visible {
    outline: 3px solid rgba(216, 75, 141, 0.38);
    outline-offset: 2px;
}

.team-photo {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    height: auto;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 10px;
    border: 1px solid var(--line);
    margin-bottom: 0.75rem;
}

.team-photo-headshot {
    object-position: center 18%;
}

.team-photo-placeholder {
    aspect-ratio: 4 / 5;
    min-height: 0;
    display: block;
    background:
        linear-gradient(145deg, rgba(216, 75, 141, 0.16), rgba(216, 75, 141, 0.05)),
        repeating-linear-gradient(45deg, rgba(216, 75, 141, 0.08), rgba(216, 75, 141, 0.08) 10px, rgba(255, 255, 255, 0.55) 10px, rgba(255, 255, 255, 0.55) 20px);
}

.team-card h3 {
    margin-bottom: 0.2rem;
    font-size: 1rem;
}

.team-role {
    color: #b03670;
    font-size: 0.83rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.45rem;
}

.team-card p {
    color: var(--muted);
    font-size: 0.9rem;
}

.photo-grid {
    display: grid;
    gap: 0.8rem;
    margin-top: 0.7rem;
}

.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.photo-card {
    margin: 0;
}

.photo-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.photo-card figcaption {
    margin-top: 0.52rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 600;
}

.resource-list {
    display: grid;
    gap: 0.65rem;
    margin-top: 0.7rem;
}

.resource-item {
    display: block;
    text-decoration: none;
    border: 1px solid var(--line);
    border-radius: 11px;
    padding: 0.78rem 0.95rem;
    color: var(--primary-strong);
    font-weight: 600;
    background: #fff4fa;
    transition: transform 170ms ease, box-shadow 170ms ease, background-color 170ms ease;
}

.resource-item:hover,
.resource-item:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(77, 33, 67, 0.12);
    background: #ffeaf4;
}

.quote-section blockquote {
    margin-top: 0.75rem;
    padding: 1rem 1.1rem;
    border-left: 4px solid var(--primary);
    border-radius: 10px;
    background: #fff0f8;
    color: var(--muted);
}

.mini-links {
    margin-top: 0.7rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.pill-list,
.steps-list,
.check-list,
.contact-list {
    margin: 0.9rem 0 0;
    padding-left: 1.1rem;
}

.pill-list {
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.pill-list li {
    padding: 0.42rem 0.8rem;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #8f2d5e;
    border: 1px solid #efc2d8;
    background: #fff3f9;
}

.steps-list,
.check-list,
.contact-list {
    color: var(--muted);
}

.steps-list li + li,
.check-list li + li,
.contact-list li + li {
    margin-top: 0.45rem;
}

.section-note {
    margin-top: 0.9rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.google-proof-grid {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    margin-top: 0.9rem;
}

.google-proof-card {
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: linear-gradient(162deg, #ffffff 0%, #fff5fb 100%);
}

.google-proof-label {
    margin: 0;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary-strong);
}

.google-proof-stars {
    margin-top: 0.45rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 1.02rem;
    color: var(--brand-gold);
    letter-spacing: 0.08em;
}

.google-proof-stars strong {
    color: #b03670;
    letter-spacing: normal;
}

.google-proof-meta {
    margin-top: 0.5rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.google-proof-status {
    font-size: 0.84rem;
}

.google-proof-status.is-live {
    color: #8f2d5e;
    font-weight: 700;
}

.google-proof-status.is-fallback {
    color: #7d5f72;
}

.review-carousel {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.65rem;
    align-items: center;
    margin-top: 1rem;
}

.review-carousel-viewport {
    overflow: hidden;
}

.review-carousel-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.08rem 0.25rem 0.45rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.review-carousel-track::-webkit-scrollbar {
    display: none;
}

.review-carousel-btn {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    border: 1px solid #efc2d8;
    background: linear-gradient(150deg, #ffffff 0%, #ffeaf4 100%);
    color: #9b3f6c;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(77, 33, 67, 0.14);
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.review-carousel-btn:hover,
.review-carousel-btn:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 12px 20px rgba(77, 33, 67, 0.2);
}

.review-carousel-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.review-highlight-card {
    position: relative;
    overflow: hidden;
    padding: 1rem 1rem 1.1rem;
    border-radius: 16px;
    border: 1px solid #eec4d8;
    background:
        radial-gradient(circle at 90% 16%, rgba(242, 181, 75, 0.34), transparent 44%),
        linear-gradient(165deg, #ffffff 0%, #fff1f8 58%, #ffe9f3 100%);
    box-shadow: 0 14px 32px rgba(77, 33, 67, 0.16);
    min-width: clamp(238px, 32vw, 320px);
    flex: 0 0 clamp(238px, 32vw, 320px);
    scroll-snap-align: start;
}

.review-highlight-stars {
    margin: 0;
    font-size: 1.3rem;
    letter-spacing: 0.1em;
    color: #f2b54b;
    text-shadow: 0 1px 0 rgba(152, 102, 17, 0.25);
}

.review-highlight-quote {
    margin: 0.62rem 0 0;
    color: #57334b;
    font-size: 0.96rem;
    line-height: 1.5;
    font-weight: 600;
}

.review-highlight-name {
    margin: 0.7rem 0 0;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #9b3f6c;
    font-weight: 700;
}

@media (max-width: 760px) {
    .review-carousel {
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }

    .review-carousel-btn {
        display: none;
    }

    .review-highlight-card {
        min-width: min(88vw, 320px);
        flex: 0 0 min(88vw, 320px);
    }
}

body.modal-open {
    overflow: hidden;
}

.team-modal {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(45, 20, 41, 0.62);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, visibility 180ms ease;
}

.team-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.team-modal-card {
    position: relative;
    width: min(100%, 580px);
    max-height: min(88vh, 760px);
    overflow-y: auto;
    padding: 1.2rem 1.2rem 1.15rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(165deg, #ffffff 0%, #fff7fc 100%);
    box-shadow: 0 22px 46px rgba(77, 33, 67, 0.28);
}

.team-modal-close {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    color: var(--primary-strong);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: transform 160ms ease, background-color 160ms ease;
}

.team-modal-close:hover,
.team-modal-close:focus-visible {
    transform: translateY(-1px);
    background: #ffeaf4;
}

.team-modal-kicker {
    margin: 0 0 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-strong);
}

.team-modal-card h3 {
    margin-bottom: 0.25rem;
    padding-right: 2.1rem;
}

.team-modal-content {
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--line);
}

.team-modal-content p {
    color: var(--muted);
}

.training-list {
    margin: 0;
    padding-left: 1.15rem;
    display: grid;
    gap: 0.42rem;
    color: var(--muted);
    font-size: 0.91rem;
}

.training-list li {
    line-height: 1.45;
}

.training-empty {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.spaced-list {
    margin-top: 0.4rem;
}

.contact-list a {
    color: var(--primary-strong);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(216, 75, 141, 0.35);
    text-underline-offset: 0.12rem;
}

.cta-banner {
    margin-top: 1rem;
    padding: clamp(1.4rem, 3.2vw, 2rem);
    color: #ffffff;
    background: linear-gradient(148deg, #942a5f 0%, #cc4c88 45%, #49b7df 100%);
    box-shadow: var(--shadow-soft);
}

.cta-banner .contact-list,
.cta-banner .contact-list a {
    color: #fff0f8;
}

.cta-banner .btn {
    margin-top: 0.9rem;
}

.footer {
    padding: 1.2rem 0 2.2rem;
    color: var(--muted);
    text-align: center;
}

@keyframes rise-fade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1080px) {
    .header-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .brand {
        justify-content: center;
    }

    .nav {
        justify-content: center;
    }

    .split-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .three-col,
    .two-col {
        grid-template-columns: 1fr;
    }

    .single-team {
        grid-template-columns: 1fr;
    }

    .photo-card img,
    .split-media img {
        height: 220px;
    }

    .split-media iframe {
        min-height: 220px;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 0.95rem;
    }

    .container {
        width: min(100% - 1.2rem, var(--max-width));
    }

    .hero,
    .page-hero,
    .section-block,
    .cta-banner {
        border-radius: 16px;
    }

    .hero-actions,
    .btn {
        width: 100%;
        text-align: center;
    }

    .nav a {
        font-size: 0.8rem;
    }

    .welcome-copy > p:not(.section-note) {
        text-align: left;
    }

    .team-modal-card {
        border-radius: 14px;
        padding: 1rem 1rem 0.95rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

