*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #f8f6f3;
    --fg: #1a1a1a;
    --muted: #6b6560;
    --accent: #1a6b5c;
    --accent2: #2a8b7a;
    --dark: #0f1419;
    --card: #fff;
    --border: #e5e0d8;
    --tint: #f0ebe4;
    --serif: 'DM Serif Display', Georgia, serif;
    --sans: 'DM Sans', -apple-system, sans-serif;
    --r: 8px;
}

html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { font-family: var(--sans); color: var(--fg); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* === EYE OPENING INTRO === */
.intro { position: fixed; inset: 0; z-index: 9999; background: var(--dark); display: flex; flex-direction: column; align-items: center; justify-content: center; transition: opacity 0.6s ease-out; }
.intro.done { opacity: 0; pointer-events: none; }

.eye-wrap { position: relative; width: 200px; height: 100px; }

.eyeball { position: absolute; top: 50%; left: 50%; width: 80px; height: 80px; background: #fff; border-radius: 50%; transform: translate(-50%, -50%); overflow: hidden; }

.iris { position: absolute; top: 50%; left: 50%; width: 50px; height: 50px; background: radial-gradient(circle at 30% 30%, #3a7568, #1a4a40); border-radius: 50%; transform: translate(-50%, -50%); animation: irisLook 2s ease-in-out; }

.pupil { position: absolute; top: 50%; left: 50%; width: 22px; height: 22px; background: #000; border-radius: 50%; transform: translate(-50%, -50%); }
.pupil::after { content: ''; position: absolute; top: 4px; left: 6px; width: 6px; height: 6px; background: rgba(255,255,255,0.6); border-radius: 50%; }

.eyelid { position: absolute; left: 0; right: 0; height: 55%; background: var(--dark); z-index: 2; }
.eyelid.top { top: 0; transform-origin: top; animation: openTop 1.5s 0.8s ease-out forwards; }
.eyelid.bottom { bottom: 0; transform-origin: bottom; animation: openBottom 1.5s 0.8s ease-out forwards; }

@keyframes openTop { 0% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
@keyframes openBottom { 0% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
@keyframes irisLook { 0%, 30% { transform: translate(-50%, -50%); } 50% { transform: translate(-30%, -50%); } 70% { transform: translate(-70%, -50%); } 100% { transform: translate(-50%, -50%); } }

.intro-text { margin-top: 40px; font-family: var(--serif); font-size: 1.4rem; color: #fff; opacity: 0; animation: fadeText 0.8s 1.8s forwards; }
@keyframes fadeText { to { opacity: 1; } }

/* === FLOATING MENU BUTTON === */
.fab { position: fixed; bottom: 28px; left: 28px; z-index: 850; background: var(--accent); color: #fff; border: none; border-radius: 50px; padding: 14px 22px; display: flex; align-items: center; gap: 10px; cursor: pointer; box-shadow: 0 4px 20px rgba(26,107,92,0.35); transition: all 0.3s; font-family: var(--sans); }
.fab:hover { background: var(--accent2); transform: translateY(-2px); box-shadow: 0 6px 28px rgba(26,107,92,0.4); }
.fab-icon { display: flex; flex-direction: column; gap: 4px; }
.fab-icon span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: 0.3s; }
.fab-label { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.5px; }

/* === OVERLAY & DRAWER === */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 900; opacity: 0; pointer-events: none; transition: opacity 0.3s; backdrop-filter: blur(4px); }
.overlay.open { opacity: 1; pointer-events: all; }

.drawer { position: fixed; top: 0; left: -320px; width: 300px; height: 100vh; background: var(--dark); z-index: 1000; display: flex; flex-direction: column; transition: left 0.4s cubic-bezier(0.4,0,0.2,1); }
.drawer.open { left: 0; }
.drawer-header { display: flex; justify-content: space-between; align-items: center; padding: 28px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.drawer-logo { font-family: var(--serif); font-size: 1.3rem; color: #fff; }
.drawer-close { background: none; border: none; color: rgba(255,255,255,0.4); font-size: 1.8rem; cursor: pointer; line-height: 1; }
.drawer-close:hover { color: #fff; }

.drawer-nav { flex: 1; padding: 20px 0; }
.drawer-link { display: block; padding: 14px 28px; color: rgba(255,255,255,0.5); font-size: 1rem; font-weight: 400; transition: all 0.2s; border-left: 3px solid transparent; }
.drawer-link:hover, .drawer-link.active { color: #fff; background: rgba(255,255,255,0.03); border-left-color: var(--accent2); }

.drawer-footer { padding: 24px 28px; border-top: 1px solid rgba(255,255,255,0.06); }
.drawer-footer p { font-size: 0.8rem; color: rgba(255,255,255,0.3); line-height: 1.5; }
.drawer-phone { display: inline-block; margin-top: 12px; color: var(--accent2); font-weight: 600; font-size: 0.95rem; }

/* === TOP BAR === */
.topbar { position: fixed; top: 0; left: 0; right: 0; height: 60px; z-index: 800; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; background: transparent; transition: all 0.3s; }
.topbar.scrolled { background: rgba(248,246,243,0.95); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--border); }
.topbar-name { font-family: var(--serif); font-size: 1rem; opacity: 0; transition: opacity 0.3s; }
.topbar.scrolled .topbar-name { opacity: 1; }
.topbar-cta { background: var(--accent); color: #fff; padding: 8px 18px; border-radius: var(--r); font-size: 0.82rem; font-weight: 600; transition: all 0.2s; opacity: 0; }
.topbar.scrolled .topbar-cta { opacity: 1; }
.topbar-cta:hover { background: var(--accent2); }

/* === BUTTONS === */
.btn-fill { display: inline-block; background: var(--accent); color: #fff; padding: 14px 32px; border-radius: var(--r); font-weight: 600; font-size: 0.9rem; border: none; cursor: pointer; font-family: var(--sans); transition: all 0.2s; }
.btn-fill:hover { background: var(--accent2); transform: translateY(-1px); }
.btn-fill.full { width: 100%; text-align: center; }
.btn-ghost { display: inline-block; color: #fff; padding: 14px 32px; border: 1px solid rgba(255,255,255,0.3); border-radius: var(--r); font-weight: 500; font-size: 0.9rem; transition: all 0.2s; }
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }

/* === HERO === */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 100px 24px 60px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-gradient { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,20,25,0.85) 0%, rgba(15,20,25,0.6) 50%, rgba(26,107,92,0.4) 100%); }
.hero-inner { position: relative; z-index: 1; max-width: 620px; color: #fff; }
.hero-tag { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 3px; color: rgba(255,255,255,0.6); margin-bottom: 20px; }
.hero h1 { font-family: var(--serif); font-size: clamp(2.6rem, 5.5vw, 4rem); line-height: 1.1; margin-bottom: 18px; }
.hero p { font-size: 1.05rem; color: rgba(255,255,255,0.75); max-width: 480px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 50px; }
.hero-stats { display: flex; gap: 40px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.15); }
.stat { text-align: left; }
.stat span { display: block; font-family: var(--serif); font-size: 2rem; color: var(--accent2); }
.stat { font-size: 0.8rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; }

/* === BLOCKS === */
.block { padding: 70px 0; }
.block.tinted { background: var(--tint); }
.block.dark { background: var(--dark); color: #fff; }
.label { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 2.5px; color: var(--accent); margin-bottom: 10px; font-weight: 600; }
.label.light { color: var(--accent2); }
h2 { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 20px; }
h2.light { color: #fff; }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; flex-wrap: wrap; gap: 16px; }
.section-intro { max-width: 320px; font-size: 0.9rem; color: var(--muted); }

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

/* === ABOUT === */
.portrait { width: 100%; max-width: 320px; border-radius: var(--r); overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.12); }
.portrait img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.split-right p { color: var(--muted); margin-bottom: 12px; font-size: 0.95rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag { padding: 6px 14px; background: var(--tint); border-radius: 20px; font-size: 0.78rem; color: var(--muted); font-weight: 500; }

/* === SERVICES GRID === */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card { background: var(--card); border-radius: var(--r); overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.svc-card img { width: 100%; height: 160px; object-fit: cover; }
.svc-card-body { padding: 20px; }
.svc-num { font-family: var(--serif); font-size: 0.85rem; color: var(--accent); }
.svc-card h3 { font-family: var(--serif); font-size: 1.1rem; font-weight: 400; margin: 6px 0 8px; }
.svc-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.5; }

/* === VIDEOS === */
.vid-filters { display: flex; gap: 8px; }
.vf { padding: 8px 18px; border: 1px solid var(--border); border-radius: 20px; background: transparent; font-family: var(--sans); font-size: 0.82rem; cursor: pointer; transition: all 0.2s; color: var(--muted); }
.vf.active, .vf:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.vid-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.vid { border-radius: var(--r); overflow: hidden; background: var(--card); transition: transform 0.25s; }
.vid:hover { transform: translateY(-3px); }
.vid.hidden { display: none; }
.vid-cover { position: relative; height: 200px; cursor: pointer; overflow: hidden; }
.vid-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.vid:hover .vid-cover img { transform: scale(1.05); }
.vid-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; background: rgba(255,255,255,0.95); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 1rem; transition: all 0.25s; padding-left: 4px; }
.vid-cover:hover .vid-play { transform: translate(-50%, -50%) scale(1.1); }
.vid-time { position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,0.7); color: #fff; padding: 3px 10px; border-radius: 4px; font-size: 0.75rem; }
.vid h4 { padding: 16px 18px 4px; font-family: var(--serif); font-size: 1rem; font-weight: 400; }
.vid > p { padding: 0 18px 16px; font-size: 0.82rem; color: var(--muted); }

/* === HUB === */
.hub-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hub { display: block; padding: 24px; background: var(--card); border-radius: var(--r); transition: all 0.25s; border: 1px solid transparent; }
.hub:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.08); border-color: var(--accent); }
.hub.featured { background: var(--accent); color: #fff; }
.hub.featured p { color: rgba(255,255,255,0.7); }
.hub.featured .hub-icon { background: rgba(255,255,255,0.15); }
.hub-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--tint); border-radius: 10px; font-size: 1.3rem; margin-bottom: 14px; }
.hub h3 { font-family: var(--serif); font-size: 1.05rem; font-weight: 400; margin-bottom: 6px; }
.hub p { font-size: 0.82rem; color: var(--muted); }

/* === BLOG === */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { background: var(--card); border-radius: var(--r); overflow: hidden; transition: transform 0.25s; }
.post-card:hover { transform: translateY(-3px); }
.post-card img { width: 100%; height: 180px; object-fit: cover; }
.post-body { padding: 20px; }
.post-body time { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.post-body h3 { font-family: var(--serif); font-size: 1.05rem; font-weight: 400; margin: 8px 0; line-height: 1.35; }
.post-body p { font-size: 0.85rem; color: var(--muted); margin-bottom: 12px; }
.post-body a { color: var(--accent); font-weight: 600; font-size: 0.85rem; }

/* === CONTACT === */
.contact-details { margin: 24px 0; }
.contact-item { margin-bottom: 18px; }
.contact-item strong { display: block; color: rgba(255,255,255,0.9); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.contact-item p { color: rgba(255,255,255,0.5); font-size: 0.9rem; }
.map-placeholder { border-radius: var(--r); overflow: hidden; margin-top: 24px; }
.map-placeholder img { width: 100%; height: 180px; object-fit: cover; filter: grayscale(30%); }

.form { display: flex; flex-direction: column; gap: 14px; }
.form input, .form select, .form textarea { padding: 14px 18px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r); color: #fff; font-family: var(--sans); font-size: 0.9rem; outline: none; transition: border-color 0.2s; }
.form input::placeholder, .form textarea::placeholder { color: rgba(255,255,255,0.35); }
.form select { color: rgba(255,255,255,0.35); }
.form select option { background: var(--dark); color: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent2); }
.form textarea { resize: vertical; min-height: 100px; }

/* === FOOTER === */
.foot { padding: 50px 0 30px; background: var(--dark); border-top: 1px solid rgba(255,255,255,0.06); }
.foot-inner { display: grid; grid-template-columns: 1fr auto auto; gap: 40px; align-items: start; color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.foot-logo { font-family: var(--serif); font-size: 1.2rem; color: #fff; display: block; margin-bottom: 8px; }
.foot-brand p { font-size: 0.85rem; }
.foot-links { display: flex; gap: 24px; }
.foot-links a { transition: color 0.2s; }
.foot-links a:hover { color: #fff; }
.foot-copy { text-align: right; }
.foot-copy p { margin-bottom: 4px; }
.foot-copy a { color: var(--accent2); }

/* === MODAL === */
.modal { display: none; position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.9); align-items: center; justify-content: center; }
.modal.open { display: flex; }
.modal-x { position: absolute; top: 20px; right: 28px; background: none; border: none; color: rgba(255,255,255,0.5); font-size: 2.2rem; cursor: pointer; transition: color 0.2s; }
.modal-x:hover { color: #fff; }
.modal-body { width: 90%; max-width: 800px; aspect-ratio: 16/9; background: #000; border-radius: var(--r); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.3); font-size: 0.9rem; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
    .svc-grid { grid-template-columns: repeat(2, 1fr); }
    .posts-grid { grid-template-columns: repeat(2, 1fr); }
    .foot-inner { grid-template-columns: 1fr; gap: 24px; }
    .foot-copy { text-align: left; }
}

@media (max-width: 700px) {
    .split { grid-template-columns: 1fr; gap: 32px; }
    .hub-row { grid-template-columns: repeat(2, 1fr); }
    .vid-grid { grid-template-columns: 1fr; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .hero-stats { gap: 28px; }
    .fab { bottom: 20px; left: 20px; padding: 12px 18px; }
}

@media (max-width: 520px) {
    .hero h1 { font-size: 2rem; }
    .svc-grid { grid-template-columns: 1fr; }
    .hub-row { grid-template-columns: 1fr; }
    .posts-grid { grid-template-columns: 1fr; }
    .block { padding: 50px 0; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .fab-label { display: none; }
}
