/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* VARIABLES */
:root {
    /* COLORS */
    --bg: #F7F6F4;
    --bg-elevated: #FFFFFF;
    --primary: #1F2937;
    --accent: #8B7E74;
    /* warm taupe */
    --secondary: #0EA5A4;
    --soft: #E5E2DE;
    --text: #374151;
    --whatsapp: #25D366;
    --toast-success: #2F6F6D;
    --toast-error: #B4534A;

    /* FORM / CONSENT */
    --text-muted: #6B7280;
    --border-light: #D8D3CE;
    --bg-soft: #FCFBFA;

    --accent-light: #9B8D82;

    --error: #B4534A;
    --error-border: rgba(180, 83, 74, 0.22);
    --error-bg: rgba(180, 83, 74, 0.05);

    /* SPACING */
    --spacing-sm: 12px;

    /* --- Radius --- */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 10px;
    --radius-xl: 12px;

    /* --- Shadows --- */
    --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-strong: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* BASE */
body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
}

h1,
h2 {
    font-family: 'Playfair Display', serif;
    margin-bottom: var(--spacing-sm);
}

section {
    opacity: 0;
    transition: opacity 0.9s ease;
}

section.visible {
    opacity: 1;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 100px 20px;
}

.narrow {
    max-width: 700px;
    text-align: center;
}

.who ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

/* HERO */
.hero-wrapper {
    max-width: 1920px;
    margin: auto;
}

.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img {
    position: absolute;
    inset: 0;
    /* top:0 left:0 right:0 bottom:0 */

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center 40%;

    z-index: 0;
}

/* overlay stays above image */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    z-index: 1;
}

/* content on top */
.hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 700px;
}

.hero h1 {
    font-size: 56px;
}

.subtitle {
    margin-top: 10px;
    color: #a5f3fc;
}

.tagline {
    margin-top: 15px;
    font-size: 18px;
}

/* BUTTONS */
.btn {
    padding: 14px 26px;
    border-radius: 999px;
    margin: 20px 10px 0;
    display: inline-block;
    text-decoration: none;
}

.btn.primary {
    background: var(--accent);
    color: white;
}

.btn.primary:hover {
    background: var(--secondary);
}

.btn.ghost {
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
}

/* TRUST */
.trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #F3F2EF;
    padding: 20px 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* ITEM */
.trust-item {
    text-align: center;
    padding: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    filter: blur(4px);
}

/* VISIBLE */
.trust-item.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* HOVER (VERY SUBTLE) */
.trust-item:hover {
    transform: translateY(-2px);
}

/* NUMBER / TITLE */
.trust-number {
    display: block;
    font-size: 18px;
    font-weight: 500;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
}

/* LABEL */
.trust-label {
    display: block;
    font-size: 12px;
    color: #6B7280;
    margin-top: 4px;
}



/* SPLIT */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.image-block img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

/* SERVICES */
.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.card {
    padding: 30px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 30px;
    width: 0%;
    height: 1px;
    background: var(--accent);
    transition: width 0.4s ease;
}

.card:hover::after {
    width: calc(100% - 60px);
}

.card-inner {
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.card p {
    margin-top: 10px;
    color: #6B7280;
    opacity: 0.7;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

/* 👇 HOVER EFFECT */
.card:hover .card-inner {
    transform: translateY(-5px);
    cursor: default;
}

.card:hover h3 {
    opacity: 0.85;
    transform: translateY(-2px);
    color: var(--accent);
}

.card:hover p {
    opacity: 1;
    transform: translateY(0);
}

.section-intro {
    max-width: 600px;
    margin: 10px 0 40px;
    color: #6B7280;
    font-size: 16px;
    line-height: 1.7;
}

.section-note {
    margin-top: 40px;
    font-size: 14px;
    color: #9CA3AF;
    font-style: italic;
}

/* PHILOSOPHY */
.philosophy {
    background: #0F172A;
    color: white;
    padding: 120px 20px;
}

.premium-process {
    background: white;
}

/* INTRO */
.process-luxury {
    background: #F7F6F4;
    padding: 140px 0;
    background-image: radial-gradient(#00000008 1px, transparent 1px);
    background-size: 20px 20px;
}

/* INTRO BLOCK */
.intro-block {
    text-align: center;
    margin-bottom: 80px;
}

.kicker {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 12px;
    color: var(--secondary);
    margin-bottom: 15px;
}

.intro-block h2 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.intro {
    max-width: 600px;
    margin: auto;
    color: #6B7280;
}

/* GRID */
.editorial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 80px;
    max-width: 800px;
}

/* ITEM */
.reveal {
    opacity: 0;
    transform: translateY(12px);
    filter: blur(4px);
    transition: opacity 0.6s ease, transform 0.6s ease, filter 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.editorial-item {
    position: relative;
    padding-left: 80px;
}

.editorial-item h3:hover {
    color: var(--secondary);
    cursor: default;
}

/* BIG NUMBER (editorial feel) */
.number {
    position: absolute;
    left: 0;
    top: 0;
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: rgba(139, 126, 116, 0.3);
}

.editorial-item:hover {
    transform: translateX(5px);
    transition: 0.3s ease;
}

/* TITLE */
.editorial-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

/* TEXT */
.editorial-item p {
    color: #6B7280;
    line-height: 1.8;
    max-width: 600px;
}

/* MID CTA */
.mid-cta {
    position: relative;
    text-align: center;
    padding: 80px 20px;
    background: transparent;
}

.mid-cta::before {
    content: "";
    display: block;
    width: 40px;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 0 auto 30px;
}

.mid-cta p {
    font-size: 18px;
    color: #6B7280;
    margin-bottom: 20px;
    font-style: italic;
}

.mid-cta .btn {
    margin-top: 10px;
}


/* =========================
   PRICING / PRACTICAL INFO
========================= */

.pricing {
    padding: 120px 20px;
    background: linear-gradient(to bottom,
            #ffffff 0%,
            var(--bg) 100%);
}

.pricing .intro-block {
    text-align: center;
    margin-bottom: 52px;
}

.pricing .intro-block h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 2px;
    margin: 18px auto 0;
    background: var(--accent);
    opacity: 0.35;
    border-radius: 999px;
}

.pricing-card {
    max-width: 720px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border: 1px solid rgba(229, 226, 222, 0.9);
    border-radius: 26px;

    padding: 18px 34px;
    box-shadow: var(--shadow-medium);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.pricing-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 24px 4px;
    border-bottom: 1px solid rgba(229, 226, 222, 0.75);

    font-size: 1rem;
    color: var(--text);
}

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

.pricing-row span {
    font-weight: 400;
    letter-spacing: -0.01em;
}

.pricing-row strong {
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--accent);
    letter-spacing: -0.02em;
}

.pricing-note {
    max-width: 620px;
    margin: 28px auto 0;
    text-align: center;

    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* optional CTA under pricing */
.pricing .actions {
    margin-top: 36px;
    text-align: center;
}

/* LOCATION */
.location {
    align-items: center;
    border-top: 1px solid var(--soft);
}

/* TEXT */
.location-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.location-text p {
    margin-bottom: 15px;
    color: #6B7280;
}

.address {
    margin-top: 20px;
    font-weight: 500;
    color: var(--secondary) !important;
}

/* MAP */
.map {
    padding: 10px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.map iframe {
    width: 100%;
    height: 320px;
    border: 0;
    border-radius: 16px;
    filter: grayscale(100%) contrast(0.9);
    transition: 0.3s ease;
}

/* subtle hover (premium touch) */
.map iframe:hover,
.map iframe.visible {
    filter: grayscale(0%);
}

/* CONTACT */
input,
textarea {
    width: 100%;
    padding: 14px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 10px;
}

select {
    width: 100%;
    padding: 14px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: white;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--text);
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 45px;
}

select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(139, 126, 116, 0.15);
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: white;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

button.success {
    opacity: 0.85;
}

.status.loading::after {
    content: '...';
    display: inline-block;
    animation: dots 1.2s steps(3, end) infinite;
}

@keyframes dots {
    0% {
        content: '';
    }

    33% {
        content: '.';
    }

    66% {
        content: '..';
    }

    100% {
        content: '...';
    }
}

/* GDPR CONSENT */
.consent-block {
    margin-top: 18px;
    margin-bottom: 28px;
    padding: 18px 18px 14px;
    border: 1px solid var(--soft);
    border-radius: var(--radius-lg);
    background: var(--bg-soft);
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-muted);
    transition:
        border-color 0.3s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}

.consent-block.error {
    border-color: var(--error-border);
    background: var(--error-bg);
    box-shadow: 0 4px 12px rgba(180, 83, 74, 0.06);
    animation: consentShake 0.35s ease;
}

.consent-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.consent-item input {
    display: none;
}

/* checkbox */
.checkmark {
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--border-light);
    border-radius: 5px;
    background: white;
    margin-top: 2px;
    position: relative;
    flex-shrink: 0;
    transition:
        border-color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease;
}

.consent-item:hover .checkmark {
    border-color: var(--accent);
    transform: translateY(-1px);
}

.consent-item input:checked+.checkmark {
    background: var(--accent);
    border-color: var(--accent);
}

.consent-item input:checked+.checkmark::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* text */
.consent-text {
    flex: 1;
    color: var(--text-muted);
}

.consent-text a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.25s ease;
}

.consent-text a:hover {
    opacity: 0.7;
}

/* error */
.consent-error {
    margin-top: 8px;
    margin-left: 30px;
    font-size: 0.8rem;
    color: var(--error);

    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(-4px);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        max-height 0.25s ease;
}

.consent-error.visible {
    opacity: 1;
    max-height: 40px;
    transform: translateY(0);
}



@keyframes consentShake {
    25% { transform: translateX(-3px); }
    50% { transform: translateX(3px); }
    75% { transform: translateX(-2px); }
}

/* legal note */
.consent-note {
    margin-top: 10px;
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.75;
    padding-left: 30px;
}

/* FOOTER */
.footer {
    background: rgba(14, 165, 164, 0.04);
    border-top: 1px solid var(--soft);
    padding-top: 80px;
    max-width: 1920px;
    margin: auto;
}

.footer::after {
    content: "";
    display: block;
    height: 2px;
    width: 60px;
    margin: 40px auto 0;
    background: var(--secondary);
    opacity: 0.4;
}

/* GRID */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    justify-content: left;
}


/* ICON */
.social-links i {
    font-size: 1.6rem;
    margin-right: 5px;
}

/* HOVER (SUBTLE, PREMIUM) */
.social-links i:hover {
    transform: translateY(-2px);
    color: var(--secondary);
    cursor: pointer;
}


/* TEXT */
.footer h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
}

.footer h4 {
    margin-bottom: 10px;
    font-weight: 500;
}

.footer p {
    color: #6B7280;
    margin-bottom: 8px;
}

.footer a {
    color: var(--text);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
    color: var(--secondary);
}

.small {
    font-size: 14px;
}

/* BOTTOM */
.footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding: 20px;
    border-top: 1px solid var(--soft);
    font-size: 13px;
    color: #9CA3AF;
}

/* WHATSAPP */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: 0.3s ease;
    animation: pulse 2.5s infinite;
}

.fa-phone:before {
    color: var(--bg);
}

/* pulse is used by .whatsapp-float */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float img {
    width: 30px;
    height: 30px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.whatsapp-chat {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 300px;
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
    transition: 0.3s ease;
}

.whatsapp-chat.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.chat-header {
    background: var(--secondary);
    color: white;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* chat-close-btn was split across two rule blocks — merged */
.chat-close-btn {
    position: relative;
    width: 28px;
    height: 28px;
    padding: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-close-btn span {
    position: absolute;
    width: 16px;
    height: 2px;
    background: white;
    transition: 0.3s ease;
}

.chat-close-btn span:first-child {
    transform: rotate(45deg);
}

.chat-close-btn span:last-child {
    transform: rotate(-45deg);
}

.chat-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.chat-close-btn:hover span {
    background: #e6e6e6;
    transform: scale(1.2) rotate(45deg);
}

.chat-close-btn:hover span:last-child {
    transform: scale(1.2) rotate(-45deg);
}

.chat-body {
    padding: 15px;
    font-size: 14px;
}

.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.quick-actions button {
    border: 1px solid #E5E2DE;
    background: white;
    padding: 10px 14px;
    border-radius: 999px;
    text-align: left;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.quick-actions button:hover {
    background: #F8FAFC;
    transform: translateX(3px);
}

.chat-input {
    display: flex;
    align-items: flex-end;
    border-top: 1px solid #eee;
    padding: 5px;
}

.chat-input textarea {
    flex: 1;
    padding: 10px;
    resize: none;
    border: none;
    outline: none;
    font-size: 14px;
    line-height: 1.4;
    max-height: 150px;
    overflow-y: auto;
    font-family: inter;
}

.chat-input button {
    height: 40px;
    min-width: 60px;
    margin-left: 8px;
    margin-bottom: 4px;
    background: var(--secondary);
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    cursor: pointer;
    flex-shrink: 0;
}

/* ============================================================
   4p. TOAST
============================================================ */

.toast {
    position: fixed;
    top: 24px;
    right: 24px;

    padding: 14px 18px;
    border-radius: var(--radius-xl);

    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);

    font-size: 0.95rem;
    line-height: 1.4;

    max-width: 340px;
    z-index: 2000;

    opacity: 0;
    transform: translateY(-10px);

    transition:
        opacity 0.35s ease,
        transform 0.35s ease;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.toast.success {
    background: rgba(14, 165, 164, 0.08);
    border-left: 3px solid var(--toast-success);
    color: #0F172A;
}

.toast.error {
    background: rgba(180, 83, 74, 0.08);
    border-left: 3px solid var(--toast-error);
    color: #0F172A;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

/* DESKTOP ONLY DIVIDERS (SOFTER) */
@media (min-width: 1025px) {
    .hero-img {
        object-position: center 2%;
    }
}

@media (min-width: 901px) {
    .trust-item:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 25%;
        height: 50%;
        width: 1px;
        background: rgba(0, 0, 0, 0.06);
    }
}

/* MOBILE */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero-img {
        object-position: center 5%;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

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

    .cards {
        grid-template-columns: 1fr;
    }

    .pricing {
        padding: 90px 20px;
    }

    .pricing-card {
        padding: 14px 22px;
        border-radius: 20px;
    }

    .pricing-row {
        padding: 18px 2px;
        font-size: 0.95rem;
    }

    .pricing-row strong {
        font-size: 1rem;
    }

    .pricing-note {
        font-size: 0.88rem;
        margin-top: 22px;
    }


    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .toast {
        left: 16px;
        right: 16px;
        top: 16px;
        max-width: none;
    }
}

/* small mobile */
@media (max-width: 480px) {
    .pricing-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .pricing-row strong {
        color: var(--accent);
    }
}
