/* =========================================================
   Projetasarım.com — Modern Interior Design Studio
   Mobile-first, premium light theme
   ========================================================= */
:root {
    --bg: #ffffff;
    --bg-soft: #f7f6f3;
    --bg-dark: #0f172a;
    --bg-darker: #0a0f1c;
    --text: #0f172a;
    --text-soft: #475569;
    --text-mute: #94a3b8;
    --border: rgba(15, 23, 42, 0.08);
    --border-strong: rgba(15, 23, 42, 0.18);
    --accent: #ffa64f;          /* logo orange */
    --accent-dark: #e6862a;
    --accent-soft: rgba(255, 166, 79, 0.10);
    --accent-rgb: 255, 166, 79;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;

    --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);

    --t: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --t-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);

    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'Outfit', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.section { padding: 70px 0; position: relative; }

/* Typography */
.eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}
.eyebrow.light { color: rgba(255, 255, 255, 0.7); }
.section-title {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--text);
    letter-spacing: -0.02em;
}
.section-title em {
    font-style: italic;
    color: var(--accent);
    font-weight: 500;
}
.section-header { margin-bottom: 40px; }
.section-header.center { text-align: center; }
.lead {
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 16px;
    font-weight: 400;
}
.lead strong { color: var(--accent); font-weight: 600; }
.link-arrow {
    display: inline-block;
    margin-top: 10px;
    font-weight: 500;
    color: var(--text);
    border-bottom: 1px solid var(--accent);
    padding-bottom: 4px;
    transition: var(--t);
}
.link-arrow:hover { color: var(--accent); transform: translateX(4px); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--t);
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid transparent;
}
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-full { width: 100%; }
.btn-primary {
    background: var(--text);
    color: #fff;
    border-color: var(--text);
}
.btn-primary:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--text); background: var(--bg-soft); }

/* ======================
   HEADER
   ====================== */
.header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    padding: 14px 0;
    transition: var(--t);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
}
.header.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.logo {
    display: inline-flex;
    align-items: center;
    color: var(--text);
}
.logo img { height: 64px; width: auto; transition: var(--t); }
.header.scrolled .logo img { height: 56px; }
.footer-logo-link img { height: 80px; filter: none !important; }
@media (max-width: 600px) {
    .logo img { height: 52px; }
    .header.scrolled .logo img { height: 46px; }
    .footer-logo-link img { height: 68px; }
}

.nav-list {
    display: flex;
    gap: 28px;
    align-items: center;
}
.nav-link {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-soft);
    transition: var(--t);
    position: relative;
    padding: 8px 0;
}
.nav-link:hover { color: var(--text); }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--accent);
    transition: var(--t);
}
.nav-link:hover::after { width: 100%; }
.nav-cta { color: #fff !important; padding: 10px 22px; }

.hamburger {
    display: none;
    width: 40px; height: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    z-index: 1001;
}
.hamburger span {
    width: 22px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--t);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ======================
   HERO
   ====================== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
    color: #fff;
    isolation: isolate;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--bg-darker);
}
.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(255, 166, 79, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(255, 166, 79, 0.15) 0%, transparent 60%),
        linear-gradient(135deg, #0f172a 0%, #1a2540 60%, #0a0f1c 100%);
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
}
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    pointer-events: none;
}
.hero-glow-1 {
    width: 500px; height: 500px;
    background: var(--accent);
    top: -150px; left: -100px;
    animation: heroFloat 14s ease-in-out infinite;
}
.hero-glow-2 {
    width: 600px; height: 600px;
    background: #1e3a8a;
    bottom: -200px; right: -150px;
    animation: heroFloat 18s ease-in-out infinite reverse;
}
@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(50px, 30px); }
}

.hero-container { position: relative; z-index: 1; }
.hero-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}
.hero-content { max-width: 720px; }

.hero-visual { position: relative; }
.hero-image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    max-width: 520px;
    margin: 0 auto;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(255, 166, 79, 0.15);
    transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-image-frame:hover {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg) scale(1.01);
}
.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-image-glow {
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(255, 166, 79, 0.3) 0%, transparent 60%);
    pointer-events: none;
    mix-blend-mode: overlay;
}
.hero-image-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(15, 23, 42, 0.4) 100%);
    pointer-events: none;
}
.hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    padding: 8px 16px;
    border: 1px solid rgba(255, 166, 79, 0.4);
    border-radius: 50px;
    margin-bottom: 24px;
    background: rgba(255, 166, 79, 0.05);
}
.hero-title {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 7vw, 4.2rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 22px;
    letter-spacing: -0.02em;
}
.hero-accent {
    color: var(--accent);
    font-style: italic;
    font-weight: 500;
}
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 40px;
    max-width: 600px;
    font-weight: 300;
    line-height: 1.7;
}
.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}
.hero .btn-primary { background: var(--accent); border-color: var(--accent); }
.hero .btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.hero .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.05); }

.hero-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-stat { display: flex; flex-direction: column; gap: 4px; }
.hero-stat strong {
    font-family: var(--serif);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 600;
    color: var(--accent);
    line-height: 1;
}
.hero-stat span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.hero-scroll {
    position: absolute;
    bottom: 30px; left: 50%;
    transform: translateX(-50%);
    width: 24px; height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    z-index: 1;
}
.hero-scroll span {
    position: absolute;
    top: 8px; left: 50%;
    width: 2px; height: 6px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scrollIndicate 1.8s infinite;
}
@keyframes scrollIndicate {
    0% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 14px); }
}

/* ======================
   ABOUT
   ====================== */
.about { background: var(--bg); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: start;
}
.about-text p { color: var(--text-soft); margin-bottom: 14px; }

.skill-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.skill-item {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-soft);
    transition: var(--t);
    position: relative;
    padding-left: 38px;
}
.skill-item::before {
    content: '';
    position: absolute;
    left: 16px; top: 50%;
    transform: translateY(-50%);
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
}
.skill-item:hover { border-color: var(--accent); transform: translateX(4px); }
.skill-item span { font-size: 0.92rem; font-weight: 500; color: var(--text); }

/* ======================
   SERVICES
   ====================== */
.services { background: var(--bg-soft); }
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
.service-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 26px;
    transition: var(--t);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-soft) 0%, transparent 50%);
    opacity: 0;
    transition: var(--t);
    pointer-events: none;
}
.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: var(--shadow);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}
.service-card p {
    color: var(--text-soft);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ======================
   MODELS / TV UNIT GALLERY
   ====================== */
.models { background: var(--bg); }
.models .section-header { margin-bottom: 50px; }
.section-sub {
    color: var(--text-soft);
    font-size: 1rem;
    max-width: 620px;
    margin: 14px auto 22px;
    line-height: 1.65;
}
.catalog-btn {
    display: inline-flex;
    gap: 10px;
    padding: 12px 24px;
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
    font-weight: 500;
}
.catalog-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.catalog-btn svg { width: 18px; height: 18px; }

.models-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
.model-card {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--t);
    display: flex;
    flex-direction: column;
}
.model-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: var(--shadow);
}
.model-img {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    cursor: zoom-in;
    background: #fff;
}
.model-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.model-card:hover .model-img img { transform: scale(1.05); }
.model-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.15) 100%);
    opacity: 0;
    transition: var(--t);
    pointer-events: none;
}
.model-card:hover .model-img::after { opacity: 1; }
.model-badge {
    position: absolute;
    top: 14px; left: 14px;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.model-actions {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.model-actions h3 {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
}
.btn-select {
    padding: 10px 18px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

.models-note {
    text-align: center;
    margin-top: 36px;
    font-size: 0.95rem;
    color: var(--text-soft);
    line-height: 1.7;
}
.models-note a {
    color: var(--accent);
    font-weight: 600;
    border-bottom: 1px solid currentColor;
}

/* ======================
   LIGHTBOX
   ====================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(10, 15, 28, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.active {
    opacity: 1;
    visibility: visible;
}
.lightbox-content {
    position: relative;
    max-width: 92vw;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.lightbox-content figcaption {
    color: rgba(255,255,255,0.85);
    font-family: var(--serif);
    font-size: 1.1rem;
    letter-spacing: 1px;
}
.lightbox-close,
.lightbox-nav {
    position: absolute;
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--t);
    z-index: 2;
}
.lightbox-close:hover,
.lightbox-nav:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.05);
}
.lightbox-close svg,
.lightbox-nav svg { width: 22px; height: 22px; }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.05); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.05); }

@media (max-width: 600px) {
    .lightbox-close { top: 12px; right: 12px; width: 38px; height: 38px; }
    .lightbox-nav { width: 38px; height: 38px; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
}

body.lightbox-open { overflow: hidden; }

/* ======================
   WHY US
   ====================== */
.why-us { background: var(--bg); }
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.feature-card {
    padding: 30px 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    transition: var(--t);
    position: relative;
}
.feature-card:hover { border-color: var(--text); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.feature-num {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 14px;
    line-height: 1;
}
.feature-card h4 {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}
.feature-card p {
    color: var(--text-soft);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ======================
   CTA / Quote Section
   ====================== */
.cta-section {
    background: var(--bg-dark);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(255, 166, 79, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(30, 58, 138, 0.15) 0%, transparent 50%);
    pointer-events: none;
}
.cta-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    position: relative;
    z-index: 1;
}
.cta-text .section-title { color: #fff; }
.cta-text p { color: rgba(255, 255, 255, 0.7); margin-top: 12px; }
.cta-form {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 28px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.cta-form input,
.cta-form select,
.cta-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 0.95rem;
    transition: var(--t);
    font-family: inherit;
}
.cta-form input::placeholder,
.cta-form textarea::placeholder { color: rgba(255, 255, 255, 0.5); }
.cta-form input:focus,
.cta-form select:focus,
.cta-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}
.cta-form select option { background: var(--bg-dark); color: #fff; }
.cta-form textarea { resize: vertical; min-height: 80px; }
.cta-form .btn-primary { background: var(--accent); border-color: var(--accent); }
.cta-form .btn-primary:hover { background: #fff; color: var(--text); border-color: #fff; }
.form-status {
    text-align: center;
    font-size: 0.9rem;
    color: var(--accent);
    min-height: 1em;
}
.form-status.success { color: #4ade80; }
.form-status.error { color: #f87171; }

/* ======================
   CONTACT
   ====================== */
.contact { background: var(--bg-soft); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.contact-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.contact-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: var(--t);
}
.contact-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow-sm); }
.contact-icon {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 8px;
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-card .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-mute);
    font-weight: 500;
}
.contact-card strong {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text);
    line-height: 1.5;
}
.contact-map {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    filter: grayscale(0.4);
    transition: var(--t-slow);
}
.contact-map:hover { filter: grayscale(0); box-shadow: var(--shadow); }

/* ======================
   FOOTER
   ====================== */
.footer {
    background: var(--bg-darker);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 24px;
}
.footer .logo { color: #fff; }
.footer .logo img { filter: brightness(0) invert(1); }
.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand p {
    margin-top: 14px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 320px;
}
.footer-col h5 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 18px;
    font-weight: 500;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col li {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.55);
    transition: var(--t);
    line-height: 1.6;
}
.footer-col a:hover { color: var(--accent); }
.footer-contact li:not(:has(a)) { color: rgba(255, 255, 255, 0.55); }

.footer-bottom {
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}
.footer-legal { display: flex; gap: 20px; justify-content: center; }
.footer-legal a:hover { color: var(--accent); }

/* ======================
   FLOATING BUTTONS
   ====================== */
.floating {
    position: fixed;
    bottom: 20px; right: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.float-btn {
    width: 52px; height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    transition: var(--t);
    position: relative;
}
.float-btn:hover { transform: translateY(-3px) scale(1.05); }
.float-btn svg { width: 24px; height: 24px; }
.float-wa { background: #25D366; }
.float-tel { background: var(--accent); }
.float-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: inherit;
    z-index: -1;
    animation: floatPulse 2.4s infinite cubic-bezier(0.5, 0, 0.5, 1);
    opacity: 0;
}
@keyframes floatPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.7); opacity: 0; }
}

/* ======================
   REVEAL ANIMATION
   ====================== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

/* ======================
   RESPONSIVE — TABLET (≥640px)
   ====================== */
@media (min-width: 640px) {
    .container { padding: 0 30px; }
    .section { padding: 90px 0; }
    .skill-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .models-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr 1fr; }
    .contact-cards { grid-template-columns: repeat(3, 1fr); }
    .footer-top { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
    .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ======================
   RESPONSIVE — DESKTOP (≥960px)
   ====================== */
@media (min-width: 960px) {
    .container { padding: 0 40px; }
    .section { padding: 110px 0; }
    .hero-layout { grid-template-columns: 1.1fr 1fr; gap: 60px; }
    .hero-content { max-width: none; }
    .about-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
    .features-grid { grid-template-columns: repeat(4, 1fr); }
    .cta-wrap { grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
    .contact-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .contact-cards { grid-template-columns: 1fr; }
    .floating { bottom: 30px; right: 30px; }
    .float-btn { width: 56px; height: 56px; }
}

@media (min-width: 960px) {
    .models-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1100px) {
    .services-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ======================
   MOBILE NAV
   ====================== */
@media (max-width: 959px) {
    .hamburger { display: flex; }
    .nav {
        position: fixed;
        top: 0; right: -100%;
        width: 88%;
        max-width: 340px;
        height: 100vh;
        height: 100svh;
        background: #fff;
        padding: 100px 32px 40px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -20px 0 40px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }
    .nav.active { right: 0; }
    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }
    .nav-list li { width: 100%; }
    .nav-link {
        font-size: 1.1rem;
        padding: 16px 0;
        border-bottom: 1px solid var(--border);
        width: 100%;
        display: block;
    }
    .nav-link::after { display: none; }
    .nav-cta { margin-top: 16px; padding: 14px 22px; text-align: center; }
    body.nav-open { overflow: hidden; }
    body.nav-open::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 999;
        backdrop-filter: blur(2px);
    }
}

/* ======================
   SMALL MOBILE TWEAKS
   ====================== */
@media (max-width: 959px) {
    .hero-image-frame {
        transform: none;
        max-width: 480px;
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 480px) {
    .hero { padding: 100px 0 60px; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; }
    .hero-stats { gap: 18px; }
    .skill-grid { grid-template-columns: 1fr; }
    .floating { bottom: 14px; right: 14px; }
    .float-btn { width: 48px; height: 48px; }
    .float-btn svg { width: 20px; height: 20px; }
    .hero-image-frame { aspect-ratio: 16 / 11; }
}

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