/* ============================================
   Croma by Violeta — Styles
   Palette: Official brand colors
     - #3F397F  Principal (indigo)
     - #F1ECF2  Fondo (soft lavender white)
     - #D5A5E3  Complementario 1 (lila)
     - #C7E7A4  Complementario 2 (verde suave)
   Typography: Space Grotesk (display) + Inter (body)
   Layout: gallery-like, illustration-first, generous spacing
   ============================================ */

:root {
    --bg: #F1ECF2;
    --bg-soft: #E8DEF0;
    --bg-card: #FFFFFF;
    --text: #3F397F;
    --text-muted: #6E68A8;
    --accent: #3F397F;
    --accent-dark: #2E2960;
    --accent-bright: #D5A5E3;
    --accent-soft: #EFDFF6;
    --accent-green: #C7E7A4;
    --border: #DFD2E8;
    --shadow-sm: 0 2px 8px rgba(63, 57, 127, 0.08);
    --shadow-md: 0 8px 24px rgba(63, 57, 127, 0.10);
    --shadow-lg: 0 20px 60px rgba(63, 57, 127, 0.16);

    --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 999px;

    --container-max: 1120px;
    --container-narrow: 780px;
    --gutter: clamp(1.25rem, 4vw, 2.5rem);

    --duration: 220ms;
    --ease: cubic-bezier(.2, .8, .2, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* Bilingual toggle */
[data-lang="es"] .lang-en { display: none !important; }
[data-lang="en"] .lang-es { display: none !important; }

/* Skip link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    background: var(--text);
    color: var(--bg);
    padding: .5rem 1rem;
    border-radius: var(--radius-sm);
    z-index: 100;
    transition: top var(--duration) var(--ease);
}
.skip-link:focus { top: 1rem; }

/* Layout */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text);
}
h1 em, h2 em, h3 em {
    font-style: normal;
    font-weight: 400;
    color: var(--accent);
    letter-spacing: -0.01em;
}

.eyebrow {
    font-family: var(--font-display);
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.25rem;
}

.section-title {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    margin-bottom: 1.25rem;
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem;
}

/* Section spacing */
section { padding: clamp(3.5rem, 7vw, 6rem) 0; }

/* Divider */
.divider {
    text-align: center;
    color: var(--accent);
    letter-spacing: .5em;
    font-size: 1rem;
    padding: 2rem 0;
    opacity: .8;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .9rem 1.75rem;
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: .95rem;
    letter-spacing: .02em;
    transition: transform var(--duration) var(--ease),
                background var(--duration) var(--ease),
                color var(--duration) var(--ease),
                box-shadow var(--duration) var(--ease);
    white-space: nowrap;
}
.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--text);
}
.btn-ghost:hover {
    background: var(--text);
    color: var(--bg);
    transform: translateY(-2px);
}
.btn-important {
    background: var(--accent-green);
    color: var(--accent);
    border: 1.5px solid var(--accent);
    box-shadow: var(--shadow-sm);
    font-weight: 600;
}
.btn-important:hover {
    background: var(--accent);
    color: var(--accent-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-block { width: 100%; }

/* Hidden SVG defs (holds the boil filter) */
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }

/* ============ TILE MEDIA (video / image) ============
   Illustrations are animated .mp4 clips with baked-in hand-drawn boil.
   The SVG filter is applied only to text (em accents) since text is
   static HTML and needs the animated distortion added on top. */

.tile-video,
.tile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--duration) var(--ease);
}
.gallery-item:hover .tile-video,
.gallery-item:hover .tile-img,
.shop-tile:hover .tile-video,
.shop-tile:hover .tile-img { transform: scale(1.03); }

/* Accent letters in section titles — the italic em words */
h1 em, h2 em, h3 em {
    display: inline-block;
    filter: url(#hand-drawn-text);
}

/* Accessibility — turn off boil for reduced motion */
@media (prefers-reduced-motion: reduce) {
    h1 em, h2 em, h3 em { filter: none; }
    .tile-video { animation: none; }
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(241, 236, 242, 0.85);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--duration) var(--ease),
                box-shadow var(--duration) var(--ease);
}
.site-header.scrolled {
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    height: 72px;
}
.brand {
    display: inline-flex;
    align-items: baseline;
    gap: .5rem;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.brand-mark { color: var(--accent); font-size: 1.1em; }
.brand em { font-style: normal; font-weight: 400; color: var(--text-muted); }

.site-nav { display: flex; gap: 1.75rem; align-items: center; }
.site-nav a {
    font-family: var(--font-display);
    font-size: .92rem;
    font-weight: 500;
    color: var(--text);
    position: relative;
    padding: .25rem 0;
    transition: color var(--duration) var(--ease);
}
.site-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--duration) var(--ease);
}
.site-nav a:hover { color: var(--accent); }
.site-nav a:hover::after { width: 100%; }

.header-tools { display: flex; align-items: center; gap: .75rem; }
.lang-toggle {
    padding: .45rem .9rem;
    border-radius: var(--radius-full);
    background: var(--bg-soft);
    color: var(--accent);
    font-family: var(--font-display);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .1em;
    transition: background var(--duration) var(--ease),
                color var(--duration) var(--ease);
}
.lang-toggle:hover { background: var(--accent); color: #fff; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: var(--radius-sm);
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform var(--duration) var(--ease),
                opacity var(--duration) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
    padding: clamp(3rem, 8vw, 5rem) 0 clamp(2rem, 5vw, 3rem);
    text-align: center;
}
.hero-inner {
    max-width: var(--container-narrow);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-avatar {
    width: clamp(140px, 22vw, 180px);
    margin-bottom: 2rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--bg);
    box-shadow: var(--shadow-md), 0 0 0 6px var(--bg-soft);
    overflow: hidden;
}
.hero-avatar-img,
.hero-avatar-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.placeholder-avatar {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: linear-gradient(135deg, #D5A5E3 0%, #3F397F 50%, #C7E7A4 100%);
    box-shadow: var(--shadow-md), 0 0 0 6px var(--bg-soft);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    padding: .55rem 1.25rem;
    border: 1.5px solid var(--accent);
    border-radius: var(--radius-full);
    background: var(--bg-soft);
    color: var(--accent);
    font-family: var(--font-display);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .28em;
    margin-bottom: 2rem;
    animation: badge-glow 3s ease-in-out infinite;
}
.status-badge span:not(.lang-es):not(.lang-en) {
    color: var(--accent-bright);
}

@keyframes badge-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(63, 57, 127, 0.3); }
    50%      { box-shadow: 0 0 0 8px rgba(63, 57, 127, 0);   }
}

.hero-title {
    font-size: clamp(2.75rem, 8vw, 5.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.hero-sub {
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}
.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-cta {
    display: flex;
    gap: .75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-socials {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    font-family: var(--font-display);
    font-size: .85rem;
    color: var(--text-muted);
}
.hero-socials a {
    color: var(--text-muted);
    transition: color var(--duration) var(--ease);
    letter-spacing: .02em;
}
.hero-socials a:hover { color: var(--accent); }

/* ============ PORTFOLIO INTRO ============ */
.portfolio-intro {
    text-align: center;
    padding-bottom: 2rem;
}
.portfolio-intro .eyebrow { margin-bottom: 1rem; }
.portfolio-intro .section-title { margin-bottom: 1.25rem; }
.intro-lead {
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* ============ CATEGORY SECTION ============ */
.category {
    padding: clamp(2rem, 5vw, 4rem) 0;
    background: var(--bg-soft);
}
.category:first-of-type { padding-top: clamp(3rem, 6vw, 5rem); }

.category-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}
.category-title { flex: 1 1 300px; }
.category-title h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin-bottom: .75rem;
    font-weight: 600;
}
.category-desc {
    color: var(--text-muted);
    max-width: 540px;
    font-size: 1rem;
}
.category-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .25rem;
    padding: .75rem 1.25rem;
    background: var(--bg-soft);
    border-radius: var(--radius-md);
    min-width: 130px;
}
.price-label {
    font-family: var(--font-display);
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.price-value {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
}

/* Gallery — flat, gallery-wall style (not cards) */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--bg);
    cursor: pointer;
    transition: transform var(--duration) var(--ease);
    aspect-ratio: 9/16;
}
.gallery-item:hover { transform: translateY(-3px); }
.gallery-item figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: .85rem 1rem;
    background: linear-gradient(to top, rgba(46,41,96,.92), rgba(46,41,96,0));
    color: #fff;
    font-family: var(--font-display);
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .02em;
    transform: translateY(100%);
    transition: transform var(--duration) var(--ease);
}
.gallery-item:hover figcaption { transform: translateY(0); }

/* Artwork frames — house the illustrations on soft tinted bgs */
.artwork-placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
}
.placeholder-portrait  { aspect-ratio: 4/5; background: linear-gradient(135deg, #D5A5E3 0%, #C7E7A4 100%); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

/* Gallery tile — unified brand fondo backdrop for all images */
.tile-lila,
.tile-green,
.tile-cream,
.tile-indigo { background: var(--bg); }

/* ============ PRICES ============ */
.prices { background: var(--bg-soft); }
.prices-note {
    color: var(--text-muted);
    font-size: .95rem;
    max-width: 540px;
    margin: 1rem auto 0;
}
.prices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    transition: border-color var(--duration) var(--ease),
                transform var(--duration) var(--ease);
}
.price-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}
.price-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.price-list { list-style: none; padding: 0; }
.price-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: .6rem 0;
    font-size: .95rem;
    border-bottom: 1px dashed var(--border);
}
.price-list li:last-child { border-bottom: 0; }
.price-list li > span:last-child {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}

.prices-cta {
    text-align: center;
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--text-muted);
}
.prices-cta a {
    color: var(--accent);
    font-weight: 500;
    transition: color var(--duration) var(--ease);
}
.prices-cta a:hover { color: var(--accent-dark); text-decoration: underline; }

.prices-tos-link {
    text-align: center;
    margin-top: 1.25rem;
    font-family: var(--font-display);
    font-size: .82rem;
    letter-spacing: .06em;
}
.prices-tos-link a {
    color: var(--text-muted);
    padding-bottom: 2px;
    border-bottom: 1px dashed var(--border);
    transition: color var(--duration) var(--ease),
                border-color var(--duration) var(--ease);
}
.prices-tos-link a:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* ============ SERVICE PRICING (options table + CTA) ============ */
.service-pricing {
    margin-top: 2.5rem;
    max-width: 720px;
}
.option-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.option-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1.5rem;
    padding: .85rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
}
.option-list li:last-child { border-bottom: 0; }
.option-list .option-head {
    font-family: var(--font-display);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding-bottom: .6rem;
    border-bottom: 1.5px solid var(--text);
}
.option-price {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--accent);
    white-space: nowrap;
}
.service-note {
    margin-top: 1.25rem;
    font-family: var(--font-display);
    font-size: .9rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: .01em;
}
.service-disclaimer {
    margin-top: .75rem;
    font-size: .85rem;
    font-style: italic;
    line-height: 1.55;
    color: var(--text-muted);
    max-width: 620px;
}
.service-cta { margin-top: 1.75rem; }

/* ============ LYRIC VIDEO GALLERY ============ */
.lyric-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    max-width: 840px;
}
.lyric-item { margin: 0; }
.lyric-video {
    width: 100%;
    aspect-ratio: 9/16;
    object-fit: cover;
    background: var(--text);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
.lyric-item figcaption {
    margin-top: .65rem;
    font-family: var(--font-display);
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .02em;
    color: var(--text-muted);
}

/* ============ SERVICE TERMS ============ */
.terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}
.term-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.4rem;
    transition: border-color var(--duration) var(--ease),
                transform var(--duration) var(--ease);
}
.term-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}
.term-card h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: .4rem;
}
.term-card p {
    font-size: .95rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.other-idea {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 4vw, 2.5rem);
    text-align: center;
}
.other-idea h4 {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2.5vw, 1.5rem);
    font-weight: 600;
    color: var(--accent);
    margin-bottom: .75rem;
}
.other-idea p {
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    font-size: 1rem;
}

/* ============ SHOP ============ */
.shop-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 6vw, 4rem);
    align-items: center;
}
.shop-text p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}
.shop-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.shop-tile {
    aspect-ratio: 9/16;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg);
    transition: transform var(--duration) var(--ease);
}
.shop-tile:hover { transform: translateY(-3px); }
.shop-tile .tile-img { padding: 0; }

/* ============ T.O.S. ============ */
.tos { background: var(--text); color: var(--bg); }
.tos .eyebrow { color: var(--accent-bright); }
.tos .section-title { color: var(--bg); }
.tos .section-title em { color: var(--accent-bright); }
.tos-lead {
    color: rgba(241, 236, 242, .7);
    max-width: 620px;
    margin: 1rem auto 0;
}
.tos-content {
    max-width: 780px;
    margin: 0 auto;
    display: grid;
    gap: 2.5rem;
}
.tos-block h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-bright);
    margin-bottom: 1rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid rgba(241, 236, 242, .15);
    letter-spacing: .02em;
}
.tos-block ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: .65rem;
}
.tos-block li {
    padding-left: 1.5rem;
    position: relative;
    color: rgba(241, 236, 242, .82);
    font-size: .96rem;
    line-height: 1.6;
}
.tos-block li::before {
    content: '✢';
    position: absolute;
    left: 0;
    top: .1em;
    color: var(--accent-bright);
    font-size: .85em;
}
.tos-block strong { color: var(--bg); font-weight: 600; }

/* ============ ABOUT ============ */
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: clamp(2rem, 6vw, 4rem);
    align-items: center;
}
.about-image {
    max-width: 300px;
    justify-self: center;
    aspect-ratio: 9/16;
    border-radius: var(--radius-lg);
    background: var(--bg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    width: 100%;
}
.about-portrait,
.about-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-text .section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.about-text p { margin-bottom: 1rem; color: var(--text-muted); }
.about-facts {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
    display: grid;
    gap: .85rem;
}
.about-facts li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: .95rem;
    color: var(--text);
}
.about-facts strong {
    font-size: 1.2rem;
    color: var(--accent);
    font-weight: normal;
    min-width: 24px;
}

/* ============ CONTACT ============ */
.contact-inner { max-width: 640px; margin: 0 auto; }
.contact-lead {
    color: var(--text-muted);
    max-width: 520px;
    margin: 1rem auto 0;
}

.contact-form {
    background: var(--bg-card);
    padding: clamp(1.75rem, 4vw, 2.5rem);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    margin-bottom: 2rem;
}
.form-row { margin-bottom: 1.25rem; }
.form-row label {
    display: block;
    font-family: var(--font-display);
    font-size: .75rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: .5rem;
}
.form-row input,
.form-row textarea {
    width: 100%;
    padding: .8rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text);
    transition: border-color var(--duration) var(--ease),
                background var(--duration) var(--ease);
}
.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
}
.form-row input:invalid:not(:placeholder-shown),
.form-row textarea:invalid:not(:placeholder-shown) {
    border-color: #dc2626;
}
.form-row textarea {
    resize: vertical;
    min-height: 130px;
    font-family: var(--font-body);
}
.form-row textarea::placeholder { color: var(--text-muted); opacity: .55; }

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-status {
    margin-top: 1.25rem;
    padding: .75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: .9rem;
    text-align: center;
    display: none;
}
.form-status.success {
    display: block;
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}
.form-status.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}
.form-status.loading, .form-status.invalid {
    display: block;
    background: var(--bg-soft);
    color: var(--text-muted);
}

.contact-alt {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.contact-alt a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .25rem;
    padding: 1rem 1.75rem;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: transform var(--duration) var(--ease),
                border-color var(--duration) var(--ease);
    min-width: 180px;
    text-align: center;
}
.contact-alt a:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
}
.contact-alt a span {
    font-family: var(--font-display);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.contact-alt a em {
    font-style: normal;
    font-weight: 500;
    color: var(--text);
}

/* ============ FOOTER ============ */
.site-footer {
    padding: 2.5rem 0 1.25rem;
    border-top: 1px solid var(--border);
    background: var(--bg);
}
.dev-credit {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px dashed var(--border);
    font-family: var(--font-display);
    font-size: .78rem;
    letter-spacing: .08em;
    color: var(--text-muted);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    flex-wrap: wrap;
}
.dev-credit a {
    color: var(--accent);
    font-weight: 600;
    padding-bottom: 1px;
    border-bottom: 1px dashed var(--accent);
    transition: color var(--duration) var(--ease),
                border-color var(--duration) var(--ease);
}
.dev-credit a:hover {
    color: var(--accent-dark);
    border-color: var(--accent-dark);
}
.page-tos .dev-credit {
    border-top-color: rgba(241, 236, 242, .12);
    color: rgba(241, 236, 242, .55);
}
.page-tos .dev-credit a {
    color: var(--accent-bright);
    border-bottom-color: rgba(213, 165, 227, .5);
}
.page-tos .dev-credit a:hover {
    color: #fff;
    border-bottom-color: #fff;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.footer-brand {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
}
.footer-brand em { font-style: normal; color: var(--text-muted); font-weight: 400; }
.footer-copy, .footer-made {
    font-family: var(--font-display);
    font-size: .82rem;
    color: var(--text-muted);
    letter-spacing: .02em;
}

/* ============ T.O.S. STANDALONE PAGE ============ */
.page-tos { background: var(--text); }
.tos-page {
    padding-top: clamp(2rem, 5vw, 3.5rem);
    padding-bottom: clamp(3rem, 6vw, 5rem);
}
.tos-page .container { max-width: 820px; }

.tos-back {
    margin-bottom: 2rem;
    font-family: var(--font-display);
    font-size: .9rem;
}
.tos-back a {
    color: var(--accent-bright);
    padding-bottom: 2px;
    border-bottom: 1px dashed rgba(213, 165, 227, .4);
    transition: color var(--duration) var(--ease),
                border-color var(--duration) var(--ease);
}
.tos-back a:hover { color: #fff; border-color: #fff; }

.tos-updated {
    font-family: var(--font-display);
    font-size: .8rem;
    color: rgba(241, 236, 242, .5);
    letter-spacing: .1em;
    margin-top: 1rem;
}

.tos-footer-cta {
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(241, 236, 242, .15);
    text-align: center;
}
.tos-footer-cta p {
    color: rgba(241, 236, 242, .7);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* Footer on T.O.S. page keeps dark theme */
.page-tos .site-header {
    background: rgba(46, 41, 96, 0.85);
    border-bottom-color: rgba(241, 236, 242, .08);
}
.page-tos .site-header.scrolled {
    border-bottom-color: rgba(241, 236, 242, .15);
}
.page-tos .brand,
.page-tos .site-nav a { color: var(--bg); }
.page-tos .site-nav a:hover { color: var(--accent-bright); }
.page-tos .site-nav a::after { background: var(--accent-bright); }
.page-tos .brand-mark { color: var(--accent-bright); }
.page-tos .brand em { color: rgba(241, 236, 242, .5); }
.page-tos .lang-toggle {
    background: rgba(241, 236, 242, .1);
    color: var(--accent-bright);
}
.page-tos .lang-toggle:hover { background: var(--accent-bright); color: var(--text); }
.page-tos .nav-toggle span { background: var(--bg); }

.page-tos .site-footer {
    background: var(--text);
    border-top-color: rgba(241, 236, 242, .1);
}
.page-tos .footer-brand,
.page-tos .footer-brand em,
.page-tos .footer-copy,
.page-tos .footer-links,
.page-tos .footer-links a { color: rgba(241, 236, 242, .6); }
.page-tos .footer-brand { color: var(--bg); }
.page-tos .footer-brand em { color: rgba(241, 236, 242, .5); }
.page-tos .footer-links a:hover { color: var(--accent-bright); }

@media (max-width: 720px) {
    .page-tos .site-nav {
        background: var(--text);
        border-bottom-color: rgba(241, 236, 242, .1);
    }
}

/* Footer links (both pages) */
.footer-links {
    display: flex;
    gap: .5rem;
    align-items: center;
    flex-wrap: wrap;
    font-family: var(--font-display);
    font-size: .82rem;
    color: var(--text-muted);
    letter-spacing: .02em;
}
.footer-links a {
    color: var(--text-muted);
    transition: color var(--duration) var(--ease);
}
.footer-links a:hover { color: var(--accent); }

/* ============ LIGHTBOX ============ */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(46, 41, 96, .94);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox-content {
    max-width: min(90vw, 900px);
    max-height: 90vh;
    border-radius: var(--radius-md);
    overflow: hidden;
}
.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--duration) var(--ease);
}
.lightbox-close:hover { background: rgba(255, 255, 255, .2); }

/* ============ WHATSAPP FLOAT ============ */
.wa-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 60;
    box-shadow: 0 10px 30px rgba(63, 57, 127, 0.35),
                0 0 0 0 rgba(63, 57, 127, 0.4);
    transition: transform var(--duration) var(--ease),
                background var(--duration) var(--ease),
                box-shadow var(--duration) var(--ease);
    animation: wa-pulse 2.4s ease-in-out infinite;
}
.wa-float:hover {
    background: var(--accent-dark);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 14px 36px rgba(63, 57, 127, 0.45);
    animation: none;
}
.wa-icon {
    width: 30px;
    height: 30px;
    color: #fff;
}

.wa-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    background: var(--text);
    color: var(--bg);
    font-family: var(--font-display);
    font-size: .82rem;
    font-weight: 500;
    padding: .55rem .9rem;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--duration) var(--ease),
                transform var(--duration) var(--ease);
    letter-spacing: .02em;
}
.wa-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: var(--text);
}
.wa-float:hover .wa-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

@keyframes wa-pulse {
    0%   { box-shadow: 0 10px 30px rgba(63, 57, 127, 0.35), 0 0 0 0 rgba(63, 57, 127, 0.5); }
    70%  { box-shadow: 0 10px 30px rgba(63, 57, 127, 0.35), 0 0 0 18px rgba(63, 57, 127, 0); }
    100% { box-shadow: 0 10px 30px rgba(63, 57, 127, 0.35), 0 0 0 0 rgba(63, 57, 127, 0); }
}

@media (max-width: 720px) {
    .wa-float {
        right: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
    }
    .wa-icon { width: 26px; height: 26px; }
    .wa-tooltip { display: none; }
}

/* ============ REVEAL ============ */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 500ms var(--ease),
                transform 500ms var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
    .about-inner { grid-template-columns: 1fr; text-align: center; }
    .about-image { max-width: 280px; }
    .about-facts { justify-content: center; }
    .about-facts li { justify-content: center; }
    .shop-inner { grid-template-columns: 1fr; }
    .category-head { flex-direction: column; align-items: flex-start; }
    .category-price { align-self: flex-start; }
    .service-pricing { margin-top: 2rem; }
    .option-list li { font-size: .95rem; gap: 1rem; }
    .service-cta { width: 100%; justify-content: center; }
}

@media (max-width: 720px) {
    .site-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border);
        transform: translateY(-120%);
        transition: transform var(--duration) var(--ease);
        box-shadow: var(--shadow-md);
    }
    .site-nav.open { transform: translateY(0); }
    .site-nav a {
        padding: 1rem var(--gutter);
        font-size: 1rem;
        width: 100%;
    }
    .site-nav a::after { display: none; }
    .nav-toggle { display: flex; }
    .header-tools { gap: .5rem; }
    .footer-inner { flex-direction: column; text-align: center; }
    .gallery { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .gallery-item figcaption { transform: translateY(0); font-size: .75rem; padding: .6rem .75rem; }
    .status-badge { font-size: .65rem; letter-spacing: .2em; }
    .divider { padding: 1.5rem 0; letter-spacing: .35em; }
}

@media (max-width: 480px) {
    .gallery { grid-template-columns: 1fr 1fr; }
    .hero-cta { flex-direction: column; align-items: stretch; width: 100%; max-width: 300px; margin-inline: auto; }
    .hero-cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}
