:root {
    --bg: #f3efe6;
    --bg-soft: #fbf8f2;
    --surface: rgba(255, 255, 255, 0.7);
    --surface-strong: rgba(255, 255, 255, 0.88);
    --text: #15211c;
    --muted: #58675f;
    --line: rgba(21, 33, 28, 0.1);
    --accent: #ff6f3c;
    --accent-deep: #c7491d;
    --accent-soft: #ffe1d4;
    --shadow: 0 24px 60px rgba(38, 35, 28, 0.12);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --max-width: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(255, 111, 60, 0.18), transparent 30%),
        radial-gradient(circle at right 20%, rgba(15, 122, 110, 0.12), transparent 30%),
        linear-gradient(180deg, #f7f3eb 0%, #efe8dc 100%);
}

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

a {
    color: inherit;
}

iframe {
    border: 0;
}

.page-shell {
    width: min(calc(100% - 32px), var(--max-width));
    margin: 0 auto;
    padding: 32px 0 24px;
}

.hero-header,
.contact-layout,
.site-footer {
    gap: 24px;
}

.hero-header {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 400px);
    align-items: center;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 248, 241, 0.72));
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}

.hero-header::after {
    content: "";
    position: absolute;
    inset: auto -10% -25% auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 111, 60, 0.12);
    filter: blur(10px);
}

.section-kicker {
    margin: 0 0 10px;
    font-size: 2rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-deep);
    font-weight: 800;
}

.hero-copy h1,
.section-heading h2,
.legal-header h1 {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    letter-spacing: -0.04em;
}

.hero-copy h1 {
    font-size: clamp(2.8rem, 5vw, 5rem);
    line-height: 0.98;
    max-width: 8ch;
}

.hero-subtitle {
    margin: 16px 0 0;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 700;
    color: #21342b;
}

.hero-text,
.legal-lead,
.form-note,
.form-status {
    color: var(--muted);
}

.hero-text {
    max-width: 52ch;
    margin: 16px 0 0;
    font-size: 1.02rem;
    line-height: 1.7;
}

.hero-logo-wrap {
    justify-self: end;
    width: min(100%, 200px);
}

.hero-logo {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    border: 20px solid #c3481d;
    animation: floatLogo 6s ease-in-out infinite;
}

.slider-section,
.tiles-section,
.contact-section,
.links-section,
.legal-main {
    margin-top: 30px;
}

.slider-frame,
.info-tile,
.contact-card,
.legal-card,
.legal-header {
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.slider-frame {
    position: relative;
    overflow: hidden;
    background: var(--surface-strong);
}

.slider-frame img {
    width: 100%;
    height: auto;
    min-height: 220px;
    object-fit: cover;
}

.slider-overlay {
    position: absolute;
    right: 24px;
    bottom: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.slider-chip {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 242, 228, 0.85);
    backdrop-filter: blur(8px);
    font-size: 0.9rem;
    font-weight: 700;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 18px;
}

.section-heading h2,
.legal-header h1 {
    font-size: clamp(1.8rem, 3vw, 3rem);
}

.tiles-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.info-tile {
    min-height: 220px;
    padding: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.64));
    position: relative;
    overflow: hidden;
}

.info-tile::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -50px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    opacity: 0.7;
}

.accent-a::after {
    background: rgba(255, 111, 60, 0.18);
}

.accent-b::after {
    background: rgba(16, 142, 117, 0.18);
}

.accent-c::after {
    background: rgba(42, 84, 132, 0.18);
}

.accent-d::after {
    background: rgba(183, 135, 50, 0.18);
}

.tile-index {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-deep);
    font-weight: 800;
    font-size: 1.5rem;
}

.info-tile h3 {
    position: relative;
    z-index: 1;
    margin: 20px 0 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    line-height: 1.25;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.contact-card,
.legal-card,
.legal-header {
    padding: 24px;
    background: var(--surface-strong);
    backdrop-filter: blur(10px);
}

.field-group {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.field-group label {
    font-weight: 700;
}

.field-group input,
.field-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(21, 33, 28, 0.16);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    font: inherit;
    color: var(--text);
}

.field-group input:focus,
.field-group textarea:focus {
    outline: 2px solid rgba(255, 111, 60, 0.3);
    outline-offset: 2px;
}

.primary-button {
    appearance: none;
    border: 0;
    border-radius: 999px;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--accent), #ff875c);
    color: white;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease;
    box-shadow: 0 12px 24px rgba(255, 111, 60, 0.24);
}

.primary-button:hover,
.primary-button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(255, 111, 60, 0.28);
}

.form-note,
.form-status {
    margin: 14px 0 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.map-card iframe {
    width: 100%;
    min-height: 100%;
    height: 100%;
    border-radius: 20px;
}

.link-bar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.link-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 72px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.68));
    box-shadow: var(--shadow);
    text-decoration: none;
    font-weight: 800;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.link-pill:hover,
.link-pill:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(255, 111, 60, 0.28);
    box-shadow: 0 18px 32px rgba(38, 35, 28, 0.14);
}

.link-pill svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding: 16px 4px 0;
    color: var(--muted);
}

.site-footer a {
    font-weight: 700;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

.page-shell-legal {
    max-width: 980px;
}

.legal-header {
    margin-top: 16px;
}

.legal-lead {
    margin: 12px 0 0;
    font-size: 1rem;
}

.legal-main {
    display: grid;
    gap: 18px;
}

.legal-card h2 {
    margin: 0 0 14px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.25rem;
}

.legal-card p {
    margin: 0 0 10px;
    line-height: 1.7;
}

.legal-footer {
    padding-bottom: 20px;
}

@keyframes floatLogo {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@media (max-width: 960px) {
    .hero-header,
    .contact-layout,
    .tiles-grid {
        grid-template-columns: 1fr;
    }

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

    .hero-logo-wrap {
        justify-self: start;
        max-width: 200px;
    }

    .map-card iframe {
        min-height: 340px;
    }
}

@media (max-width: 720px) {
    .page-shell {
        width: min(calc(100% - 20px), var(--max-width));
        padding-top: 16px;
    }

    .hero-header,
    .contact-card,
    .legal-card,
    .legal-header,
    .info-tile {
        padding: 20px;
        border-radius: 24px;
    }

    .slider-overlay {
        left: auto;
        right: 16px;
        bottom: 16px;
        flex-direction: column;
        align-items: flex-end;
        flex-wrap: nowrap;
    }

    .section-heading,
    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .link-bar {
        grid-template-columns: 1fr;
    }

    .link-pill {
        justify-content: flex-start;
        border-radius: 24px;
    }

    .site-footer {
        gap: 8px;
    }
}