:root {
    --primary: #0f766e;
    --primary-dark: #115e59;
    --primary-deeper: #134e4a;
    --primary-light: #ccfbf1;
    --accent: #d97706;
    --accent-soft: #fef3c7;
    --bg-gradient-start: #f8fafc;
    --bg-gradient-end: #ecfdf5;
    --surface: #ffffff;
    --surface-border: #e2e8f0;
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-soft: #64748b;
    --whatsapp-color: #25d366;
    --whatsapp-hover: #20ba59;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-soft: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
    --shadow-hover: 0 12px 30px -4px rgba(15, 118, 110, 0.15), 0 4px 10px -2px rgba(15, 23, 42, 0.05);
    --header-height: 72px;
    --max-width: 1080px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: linear-gradient(145deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    background-attachment: fixed;
    color: var(--text-main);
    min-height: 100vh;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
}

a {
    color: var(--primary);
}

/* ========== Header / Nav ========== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(19, 78, 74, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    min-height: var(--header-height);
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #ffffff;
    flex-shrink: 0;
}

.site-logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-logo-mark svg {
    width: 18px;
    height: 18px;
    stroke: #ffffff;
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.site-logo-text strong {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 600;
}

.site-logo-text span {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    opacity: 0.75;
    font-weight: 500;
}

.nav-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    border-radius: 8px;
    padding: 8px 12px;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-nav a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 550;
    padding: 8px 12px;
    border-radius: 8px;
    transition:
        background 0.15s,
        color 0.15s;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

/* ========== Page layout ========== */
.site-main {
    flex: 1;
    width: 100%;
}

.page-hero {
    background: linear-gradient(135deg, #0f766e 0%, #134e4a 100%);
    color: #ffffff;
    padding: 56px 20px 48px;
}

.page-hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.page-kicker {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.75;
    margin-bottom: 10px;
}

.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 12px;
}

.page-hero p {
    max-width: 680px;
    font-size: 1.02rem;
    opacity: 0.9;
}

.page-wrap {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 20px 72px;
}

.section-block + .section-block {
    margin-top: 40px;
}

.section-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--primary-deeper);
    margin-bottom: 14px;
}

.prose {
    color: var(--text-muted);
    font-size: 1rem;
}

.prose p + p,
.prose ul + p,
.prose p + ul,
.prose h2 + p,
.prose h3 + p {
    margin-top: 14px;
}

.prose h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: var(--primary-deeper);
    margin: 32px 0 12px;
}

.prose h3 {
    font-size: 1.05rem;
    color: var(--text-main);
    margin: 24px 0 8px;
}

.prose ul,
.prose ol {
    padding-left: 22px;
}

.prose li + li {
    margin-top: 6px;
}

.prose strong {
    color: var(--text-main);
}

/* Cards / grids */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

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

.info-card,
.feature-card,
.legal-box,
.cta-panel {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.feature-card {
    padding: 22px 20px;
}

.feature-card h3 {
    font-size: 1.02rem;
    margin: 10px 0 8px;
    color: var(--text-main);
}

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

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.legal-box {
    padding: 18px 20px;
    background: #fffbeb;
    border-color: #fde68a;
}

.legal-box strong {
    display: block;
    margin-bottom: 6px;
    color: #92400e;
    font-size: 0.92rem;
}

.legal-box p {
    font-size: 0.9rem;
    color: #78350f;
}

.cta-panel {
    padding: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cta-panel h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--primary-deeper);
    margin-bottom: 6px;
}

.cta-panel p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 18px;
    border-radius: var(--radius-md);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn svg {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
}

.btn-whatsapp {
    background: var(--whatsapp-color);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: #f1f5f9;
    color: var(--text-main);
    border: 1px solid var(--surface-border);
}

.btn-secondary:hover {
    background: #e2e8f0;
    color: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-maps {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.btn-maps:hover {
    background: #dbeafe;
    color: #1e3a8a;
}

.btn-save-contact {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.btn-save-contact:hover {
    background: #dcfce7;
    color: #14532d;
}

/* Data tables / lists */
.data-list {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.data-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--surface-border);
}

.data-row:last-child {
    border-bottom: none;
}

.data-row dt {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-soft);
    padding-top: 2px;
}

.data-row dd {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
}

.data-row dd span {
    display: block;
    font-weight: 400;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Home specific */
.home-intro {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 20px 8px;
}

.home-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 420px);
    gap: 28px;
    align-items: start;
}

.shortcut-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}

.shortcut-link {
    display: block;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    padding: 18px 16px;
    text-decoration: none;
    box-shadow: var(--shadow-soft);
    transition:
        transform 0.15s,
        box-shadow 0.15s;
}

.shortcut-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.shortcut-link h3 {
    color: var(--text-main);
    font-size: 0.98rem;
    margin-bottom: 6px;
}

.shortcut-link p {
    color: var(--text-muted);
    font-size: 0.84rem;
}

/* Existing card (home) */
.card-container {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.brand-banner {
    background: linear-gradient(135deg, #0f766e 0%, #134e4a 100%);
    padding: 32px 24px 28px;
    text-align: center;
    position: relative;
    color: #ffffff;
}

.brand-banner::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 16px;
    background: var(--surface);
    border-radius: 16px 16px 0 0;
}

.brand-symbol {
    width: 68px;
    height: 68px;
    margin: 0 auto 14px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-symbol svg {
    width: 38px;
    height: 38px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.brand-legal {
    font-size: 0.86rem;
    font-weight: 400;
    opacity: 0.9;
}

.status-badge-wrapper {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.18);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.status-dot {
    width: 7px;
    height: 7px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 8px #4ade80;
}

.card-body {
    padding: 12px 22px 24px;
}

.actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.btn-whatsapp.full {
    grid-column: 1 / -1;
}

.section-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-soft);
    margin: 20px 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--surface-border);
}

.info-list {
    background: #f8fafc;
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.info-item {
    display: flex;
    align-items: flex-start;
    padding: 13px 16px;
    border-bottom: 1px solid var(--surface-border);
    gap: 12px;
}

.info-item:last-child {
    border-bottom: none;
}

.info-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #e0f2fe;
    color: #0369a1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-icon.teal {
    background: #ccfbf1;
    color: #0f766e;
}

.info-icon.amber {
    background: #fef3c7;
    color: #b45309;
}

.info-icon.purple {
    background: #f3e8ff;
    color: #7e22ce;
}

.info-icon svg {
    width: 17px;
    height: 17px;
}

.info-content {
    flex: 1;
    min-width: 0;
}

.info-label {
    font-size: 0.75rem;
    color: var(--text-soft);
    font-weight: 500;
    margin-bottom: 2px;
}

.info-value {
    font-size: 0.92rem;
    color: var(--text-main);
    font-weight: 600;
    word-break: break-word;
}

.info-subtext {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 2px;
}

.copy-btn {
    background: transparent;
    border: 1px solid var(--surface-border);
    color: var(--text-muted);
    border-radius: 6px;
    padding: 5px 8px;
    font-size: 0.74rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
    flex-shrink: 0;
    align-self: center;
}

.copy-btn:hover {
    background: #e2e8f0;
    color: var(--text-main);
}

.copy-btn.copied {
    background: #dcfce7;
    border-color: #86efac;
    color: #15803d;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.tag {
    font-size: 0.78rem;
    background: #f1f5f9;
    color: #334155;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    font-weight: 500;
}

.extra-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.extra-actions .btn {
    flex: 1;
}

.card-footer {
    text-align: center;
    padding: 14px 20px;
    background: #f8fafc;
    border-top: 1px solid var(--surface-border);
    font-size: 0.76rem;
    color: var(--text-soft);
}

/* Footer */
.site-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 36px 20px 24px;
    margin-top: auto;
}

.site-footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 28px;
}

.site-footer h4 {
    color: #ffffff;
    font-size: 0.92rem;
    margin-bottom: 10px;
}

.site-footer p,
.site-footer a {
    font-size: 0.84rem;
    color: #94a3b8;
    text-decoration: none;
}

.site-footer a:hover {
    color: #ffffff;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.site-footer-bottom {
    max-width: var(--max-width);
    margin: 24px auto 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.76rem;
    color: #64748b;
}

/* Toast */
#toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #0f172a;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.84rem;
    font-weight: 500;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

#toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Responsive */
@media (max-width: 900px) {
    .home-layout,
    .card-grid,
    .card-grid.two,
    .site-footer-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .nav-toggle {
        display: inline-flex;
        align-items: center;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #134e4a;
        flex-direction: column;
        align-items: stretch;
        padding: 8px 12px 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .site-header.is-open .site-nav {
        display: flex;
    }

    .site-nav a {
        padding: 12px 10px;
    }

    .actions-grid,
    .shortcut-grid,
    .extra-actions,
    .data-row {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: 40px 20px 36px;
    }
}
