:root {
    --color-bg: #f4f6f8;
    --color-surface: #ffffff;
    --color-surface-muted: #eef3f6;
    --color-primary: #1f3a5f;
    --color-accent: #0ea5a6;
    --color-text: #1f2933;
    --color-text-muted: #52606d;
    --color-border: #d9e2ec;
    --shadow-card: 0 10px 24px rgba(15, 23, 42, 0.08);
    --radius-md: 12px;
    --radius-lg: 18px;
    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 20px;
    --space-lg: 32px;
    --space-xl: 56px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background: linear-gradient(180deg, #f9fbfc 0%, var(--color-bg) 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -44px;
    left: 12px;
    background: var(--color-primary);
    color: #fff;
    padding: var(--space-xs) var(--space-sm);
    border-radius: 8px;
    z-index: 1000;
    text-decoration: none;
}

.skip-link:focus {
    top: 12px;
}

.site-header,
footer {
    background-color: #15283f;
    color: #fff;
}

.header-inner,
.footer-inner,
.page-main {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: 14px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    min-width: 0;
    font-size: 1.05rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.site-nav a {
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.98rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    background-color: rgba(14, 165, 166, 0.2);
}

.page-main {
    flex: 1;
    padding: var(--space-xl) 0;
}

.hero {
    display: grid;
    gap: var(--space-lg);
    align-items: center;
    grid-template-columns: 1fr 1.2fr;
    margin-bottom: var(--space-lg);
}

.home-logo {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.hero-logo {
    width: min(360px, 86vw);
    border-radius: 14px;
    box-shadow: var(--shadow-card);
}

.hero-image {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: var(--space-lg);
    min-width: 0;
}

h1,
h2,
h3 {
    margin-top: 0;
    line-height: 1.25;
    color: #102a43;
}

h1 {
    font-size: clamp(1.9rem, 2.2vw + 1rem, 2.8rem);
}

.legal-content {
    display: grid;
    gap: var(--space-sm);
}

.legal-content h2 {
    margin: var(--space-md) 0 0;
    font-size: 1.25rem;
}

.legal-content h3 {
    margin: var(--space-sm) 0 0;
    font-size: 1.08rem;
}

.legal-content h4 {
    margin: var(--space-xs) 0 0;
    font-size: 1rem;
}

.legal-content p {
    margin: 0;
}

.legal-content ul {
    margin: 0;
    padding-left: 1.4rem;
}

.lead {
    font-size: 1.08rem;
    color: var(--color-text-muted);
}

.divider {
    width: 110px;
    height: 4px;
    background-color: var(--color-accent);
    margin: 0 0 var(--space-lg);
    border-radius: 999px;
}

.team-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-md);
}

.hero > *,
.team-container > *,
.contact-container > *,
.contact-action-column > * {
    min-width: 0;
}

.team-member,
.contact-info,
.contact-note,
.google-reviews,
.whatsapp-contact {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    padding: var(--space-md);
}

.services-list {
    display: grid;
    gap: var(--space-sm);
    margin: 0;
    padding: 0;
    list-style: none;
}

.services-list li {
    position: relative;
    padding: 14px 16px 14px 42px;
    background: var(--color-surface-muted);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-weight: 600;
    overflow-wrap: anywhere;
}

.services-list li::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--color-accent);
    transform: translateY(-50%);
}

.team-title {
    color: var(--color-text-muted);
}

.team-member {
    text-align: center;
}

.team-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    padding: var(--space-md);
    min-height: 260px;
}

.team-logo {
    width: min(210px, 100%);
    border-radius: 14px;
    box-shadow: var(--shadow-card);
}

.team-image {
    width: 180px;
    height: 180px;
    margin: 0 auto var(--space-sm);
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.team-name {
    margin-bottom: 4px;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.contact-name {
    margin-bottom: var(--space-md);
    font-size: 1.1rem;
    font-weight: 700;
    color: #102a43;
}

.contact-action-column {
    display: grid;
    gap: var(--space-md);
    align-self: start;
}

.contact-list {
    display: grid;
    gap: var(--space-sm);
    margin: 0;
}

.contact-list div {
    display: grid;
    gap: 2px;
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-border);
}

.contact-list div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.contact-list dt {
    font-weight: 700;
    color: var(--color-primary);
}

.contact-list dd {
    margin: 0;
    color: var(--color-text-muted);
    overflow-wrap: anywhere;
}

.contact-note {
    background: var(--color-surface-muted);
    border-left: 5px solid var(--color-accent);
}

.contact-cta {
    display: inline-flex;
    align-items: center;
    margin-top: var(--space-sm);
    border-radius: 10px;
    background: var(--color-accent);
    color: #fff;
    padding: 11px 16px;
    font-weight: 600;
    text-decoration: none;
}

.contact-cta:hover {
    background: #0d8f90;
}

.google-reviews,
.whatsapp-contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-block: var(--space-md);
}

.google-btn,
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    border-radius: 10px;
    padding: 11px 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    justify-content: center;
    max-width: 100%;
    text-align: center;
}

.google-btn {
    background: #1a73e8;
    color: #fff;
    margin-top: var(--space-xs);
}

.google-btn:hover {
    background: #185abc;
}

.whatsapp-btn {
    background: #25d366;
    color: #102a43;
    margin-top: var(--space-sm);
}

.whatsapp-btn:hover {
    background: #1fb85a;
}

.google-img {
    width: 18px;
    height: 18px;
}

footer {
    margin-top: auto;
}

.footer-inner {
    padding: 16px 0;
    text-align: center;
}

.footer-links {
    margin: 6px 0 0;
}

footer a {
    color: #b7f1f1;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 960px) {
    .hero,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .team-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .header-inner,
    .footer-inner,
    .page-main {
        width: calc(100% - 24px);
    }

    .header-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .brand {
        justify-content: center;
        text-align: center;
    }

    .site-nav {
        width: 100%;
        justify-content: center;
    }

    .site-nav a {
        flex: 1 1 auto;
        text-align: center;
    }

    .team-container {
        grid-template-columns: 1fr;
    }

    .page-main {
        padding: var(--space-lg) 0;
    }

    .card {
        padding: var(--space-md);
    }

    .hero-logo {
        width: min(320px, 82vw);
    }
}
