/* Renovate Athens — public styles */
:root {
  --ink: #1b1a17;
  --ink-2: #4a4741;
  --muted: #7a766e;
  --line: #e6e1d8;
  --paper: #fbfaf7;
  --paper-2: #f3efe7;
  --white: #fff;
  --accent: #b8863b;      /* warm brass */
  --accent-dark: #96692a;
  --dark: #17191c;
  --dark-2: #22252a;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(27, 26, 23, .08);
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.2rem; }
p { margin-bottom: 1rem; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.muted { color: var(--muted); }
.center { text-align: center; }
.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.icon { width: 1.2em; height: 1.2em; flex: none; vertical-align: -.25em; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; font-weight: 600; color: var(--accent); margin-bottom: .75rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: .95rem; border: 1.5px solid transparent; cursor: pointer; transition: .2s; font-family: inherit; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-lg { padding: 1rem 1.8rem; font-size: 1rem; }
.btn-sm { padding: .55rem 1.1rem; font-size: .85rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,250,247,.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .65rem; font-family: var(--font-head); font-size: 1.25rem; }
.brand strong { color: var(--accent); font-weight: 600; }
.brand-mark { width: 40px; height: 40px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .85rem; font-weight: 600; letter-spacing: .05em; font-family: var(--font-body); }
.brand-light { color: #fff; }
.brand-light .brand-mark { background: var(--accent); }
.nav { display: flex; align-items: center; gap: 1.8rem; font-weight: 500; font-size: .95rem; }
.nav a:not(.btn) { position: relative; }
.nav a:not(.btn)::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--accent); transition: .2s; }
.nav a:not(.btn):hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* Hero */
.hero { position: relative; min-height: calc(100vh - 72px); display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(23,25,28,.92) 0%, rgba(23,25,28,.7) 45%, rgba(23,25,28,.25) 100%); }
.hero-content { position: relative; padding: 6rem 0; max-width: 720px; }
.hero .eyebrow { color: #e2b86b; }
.hero h1 { margin-bottom: 1.25rem; }
.hero .lead { color: rgba(255,255,255,.82); max-width: 560px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 3.5rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 2.5rem; border-top: 1px solid rgba(255,255,255,.2); padding-top: 1.8rem; }
.hero-stats strong { display: block; font-family: var(--font-head); font-size: 2.2rem; line-height: 1; color: #e2b86b; }
.hero-stats span { font-size: .85rem; color: rgba(255,255,255,.7); }

/* Sections */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--dark); color: #fff; }
.section-dark .muted { color: rgba(255,255,255,.65); }
.section-dark .lead { color: rgba(255,255,255,.8); }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head h2 { margin-bottom: .75rem; }
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }

/* Services */
.service-card { transition: .25s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--paper-2); color: var(--accent); display: grid; place-items: center; margin-bottom: 1.2rem; }
.service-icon .icon { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: .5rem; }
.service-card p { color: var(--ink-2); margin: 0; font-size: .95rem; }

/* Process */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: step; }
.process li { border-top: 1px solid rgba(255,255,255,.15); padding-top: 1.5rem; }
.process span { font-family: var(--font-head); font-size: 2.5rem; color: var(--accent); line-height: 1; display: block; margin-bottom: .8rem; }
.process h3 { margin-bottom: .5rem; }
.process p { color: rgba(255,255,255,.7); margin: 0; }

/* Projects */
.filters { display: flex; gap: .5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.filter { padding: .55rem 1.2rem; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; font-family: inherit; font-weight: 500; cursor: pointer; transition: .2s; }
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.project-card { display: block; border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: .25s; }
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project-card.is-hidden { display: none; }
.project-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.project-card:hover .project-media img { transform: scale(1.05); }
.tag { position: absolute; top: 1rem; left: 1rem; background: rgba(255,255,255,.92); color: var(--ink); padding: .3rem .75rem; border-radius: 999px; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.project-body { padding: 1.2rem 1.4rem; }
.project-body h3 { margin-bottom: .2rem; }
.project-body p { margin: 0; font-size: .9rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center; }
.about-media img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow); }
.about-text h2 { margin-bottom: 1.2rem; }
.about-text p { color: var(--ink-2); }
.checklist { margin: 1.5rem 0 2rem; display: grid; gap: .6rem; }
.checklist li { display: flex; align-items: center; gap: .6rem; font-weight: 500; }
.checklist .icon { color: var(--accent); }

/* Testimonials */
.testimonial { display: flex; flex-direction: column; }
.stars { display: flex; gap: 2px; color: var(--accent); margin-bottom: 1rem; }
.stars .icon { fill: currentColor; width: 16px; height: 16px; }
.testimonial p { flex: 1; font-family: var(--font-head); font-size: 1.15rem; line-height: 1.5; }
.testimonial footer { display: flex; flex-direction: column; font-size: .9rem; }
.testimonial footer span { color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
.contact-list { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-list li { display: flex; align-items: center; gap: .8rem; }
.contact-list .icon { color: var(--accent); width: 1.4em; height: 1.4em; }
.contact-form { color: var(--ink); }
.contact-form label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 1rem; }
.contact-form input, .contact-form select, .contact-form textarea { display: block; width: 100%; margin-top: .35rem; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-weight: 400; background: var(--paper); transition: .2s; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hp { position: absolute; left: -9999px; }
.flash { padding: .9rem 1.1rem; border-radius: 10px; margin-bottom: 1.2rem; font-size: .92rem; }
.flash-success { background: #e8f5ea; color: #1f6b33; }
.flash-error { background: #fdecea; color: #a3321f; }

/* Project page */
.project-hero { position: relative; min-height: 60vh; display: flex; align-items: flex-end; color: #fff; }
.project-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(23,25,28,.92), rgba(23,25,28,.2) 60%, rgba(23,25,28,.1)); }
.project-hero-content { position: relative; z-index: 1; padding: 3rem 0; }
.project-hero .tag { position: static; display: inline-block; margin-bottom: 1rem; }
.project-hero .lead { color: rgba(255,255,255,.85); display: flex; align-items: center; gap: .4rem; }
.back-link { display: inline-block; margin-bottom: 1.5rem; color: rgba(255,255,255,.8); font-size: .9rem; }
.back-link:hover { color: #fff; }
.project-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.project-desc { position: sticky; top: 100px; }
.project-desc p { color: var(--ink-2); }
.project-desc .btn { margin-top: 1rem; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.gallery-item { border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 5; }
.gallery-item:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.04); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 90vh; border-radius: 8px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; font-size: 2rem; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; line-height: 1; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* Footer */
.site-footer { background: var(--dark-2); color: rgba(255,255,255,.8); padding: 4rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-tag { margin-top: 1rem; max-width: 320px; }
.site-footer h4 { color: #fff; margin-bottom: 1rem; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; }
.footer-list { display: grid; gap: .7rem; }
.footer-list li { display: flex; align-items: center; gap: .6rem; }
.footer-list .icon { color: var(--accent); }
.footer-list a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 1.5rem; font-size: .85rem; color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: #fff; }

/* WhatsApp */
.whatsapp-fab { position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.4); transition: .2s; }
.whatsapp-fab:hover { transform: scale(1.08); }
.whatsapp-fab svg { width: 30px; height: 30px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid, .project-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .project-desc { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 680px) {
  .grid-3 { grid-template-columns: 1fr; }
  .nav { position: fixed; top: 72px; left: 0; right: 0; background: var(--paper); flex-direction: column; align-items: flex-start; padding: 1.5rem; gap: 1.2rem; border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: .3s; }
  .nav.is-open { transform: none; }
  .nav-toggle { display: flex; }
  .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 { min-height: auto; }
  .hero-content { padding: 4rem 0; }
  .hero-stats { gap: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: .5rem; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-item { aspect-ratio: 4 / 3; }
}

/* Before / After compare slider */
.compare-section { padding-top: 0; }
.compare { position: relative; max-width: 980px; margin-inline: auto; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); user-select: none; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare-before-wrap { position: absolute; inset: 0; overflow: hidden; width: 50%; }
.compare-before-wrap img { width: 100vw; max-width: none; }
.compare-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; box-shadow: 0 0 12px rgba(0,0,0,.35); }
.compare-handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 1.2rem; font-weight: 700; letter-spacing: -1px; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.compare-label { position: absolute; top: 1rem; background: rgba(23,25,28,.75); color: #fff; padding: .3rem .8rem; border-radius: 999px; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; pointer-events: none; }
.compare-label-before { left: 1rem; }
.compare-label-after { right: 1rem; }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; -webkit-appearance: none; appearance: none; }
.compare-range::-webkit-slider-thumb { -webkit-appearance: none; width: 46px; height: 100%; }
.compare-range::-moz-range-thumb { width: 46px; height: 100%; border: 0; }
@media (max-width: 680px) { .compare { aspect-ratio: 4 / 3; } }

/* Clickable category tag */
.tag-link { transition: .2s; }
.tag-link:hover { background: var(--accent); color: #fff; }
