/* Art Construction & Remodeling — brand colours from the chosen Clásica logo (Jardín) */
:root {
  --green: #2B4434;
  --green-dk: #22362A;
  --brass: #B8924F;
  --brass-lt: #D4B67E;
  --plaster: #F2EADD;
  --plaster-dk: #E6DBC8;
  --iron: #23201D;
  --muted: #5E5A53;
  --white: #FFFDF9;
  --serif: "Cinzel", "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--plaster);
  color: var(--iron);
  font: 400 1.0625rem/1.65 var(--sans);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.15rem; letter-spacing: .04em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: var(--plaster); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }

/* eyebrow: small caps label with a brass rule, echoing the logo */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 500 .78rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--brass);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 2px;
  font: 500 .95rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-brass { background: var(--brass); color: var(--iron); }
.btn-brass:hover { background: var(--brass-lt); }
.btn-line { border-color: currentColor; color: inherit; }
.btn-line:hover { background: rgba(255,255,255,.08); }
.btn-green { background: var(--green); color: var(--plaster); }
.btn-green:hover { background: var(--green-dk); }

/* header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(242,234,221,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--plaster-dk); }
.site-head .wrap { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: block; flex: none; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-size: .92rem; letter-spacing: .06em; color: var(--muted); }
.nav a:hover { color: var(--green); }
.head-actions { display: flex; align-items: center; gap: 14px; }
.lang { font: 500 .8rem/1 var(--sans); letter-spacing: .14em; color: var(--green); text-decoration: none; padding: 8px 10px; border: 1px solid var(--plaster-dk); border-radius: 2px; }
.lang:hover { border-color: var(--green); }
.head-call { min-height: 42px; padding: 0 18px; font-size: .85rem; }
@media (max-width: 900px) {
  .nav { display: none; }
  .head-actions { margin-left: auto; }
}
@media (max-width: 520px) {
  .brand img { height: 34px; }
  .head-call span { display: none; }
  .head-call { padding: 0 14px; }
}

/* hero */
.hero { position: relative; background: var(--green); color: var(--plaster); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; min-height: min(78vh, 720px); }
.hero-copy { padding: clamp(48px, 8vw, 110px) var(--gutter) clamp(48px, 7vw, 90px) max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); display: flex; flex-direction: column; justify-content: center; }
.hero-copy p.lead { font-size: 1.18rem; color: #D9D2C3; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.hero-photo { position: relative; min-height: 340px; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(212,182,126,.55); pointer-events: none; }
.creds { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(212,182,126,.35); font-size: .88rem; letter-spacing: .06em; color: var(--brass-lt); }
.creds span { display: inline-flex; align-items: center; gap: 8px; }
.creds svg { width: 16px; height: 16px; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { order: -1; min-height: 0; aspect-ratio: 4 / 3; }
  .hero-copy { padding: 40px var(--gutter) 48px; }
}

/* sections */
section { padding: clamp(64px, 9vw, 112px) 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head p { color: var(--muted); }

/* services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--plaster-dk); border: 1px solid var(--plaster-dk); }
.service { background: var(--white); padding: 34px 30px; }
.service .num { font: 600 .8rem/1 var(--serif); color: var(--brass); letter-spacing: .1em; display: block; margin-bottom: 18px; }
.service p { color: var(--muted); margin: 0; font-size: 1rem; }
@media (max-width: 900px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

/* gallery */
.work { background: var(--white); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 10px; }
.gallery button { all: unset; cursor: zoom-in; position: relative; overflow: hidden; background: var(--plaster-dk); }
.gallery button:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery button:hover img { transform: scale(1.04); }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }
.gallery .big { grid-column: span 2; grid-row: span 2; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; font-size: .82rem; letter-spacing: .04em; color: var(--white); background: linear-gradient(transparent, rgba(20,24,20,.72)); opacity: 0; transition: opacity .25s; }
.gallery button:hover figcaption, .gallery button:focus-visible figcaption { opacity: 1; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }
@media (hover: none) { .gallery figcaption { opacity: 1; } }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(18,22,19,.94); display: none; align-items: center; justify-content: center; padding: 56px 16px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1200px, 100%); max-height: 100%; object-fit: contain; }
.lightbox p { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: var(--plaster); font-size: .92rem; margin: 0; padding: 0 60px; }
.lb-btn { all: unset; cursor: pointer; position: absolute; color: var(--plaster); width: 48px; height: 48px; display: grid; place-items: center; font-size: 28px; border-radius: 50%; }
.lb-btn:hover, .lb-btn:focus-visible { background: rgba(255,255,255,.1); }
.lb-close { top: 10px; right: 10px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }

/* about */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-photo { position: relative; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-photo::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid var(--brass); z-index: -1; }
.points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
.points li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.points svg { width: 22px; height: 22px; color: var(--brass); margin-top: 3px; }
.points strong { display: block; font-weight: 500; }
.points span { color: var(--muted); font-size: .98rem; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-photo { max-width: 460px; margin-left: 14px; } }

/* areas */
.areas { background: var(--plaster-dk); }
.area-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.area-list li { padding: 9px 16px; background: var(--white); border: 1px solid #D8CCB6; font-size: .95rem; }

/* estimate CTA */
.cta { background: var(--green); color: var(--plaster); text-align: center; }
.cta h2 { color: var(--plaster); }
.cta p { color: #D9D2C3; max-width: 38em; margin-left: auto; margin-right: auto; }
.cta .hero-actions { justify-content: center; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 900px; margin: 40px auto 36px; text-align: left; }
.steps div { border-top: 1px solid rgba(212,182,126,.45); padding-top: 16px; }
.steps b { font-family: var(--serif); color: var(--brass-lt); display: block; margin-bottom: 4px; }
.steps span { color: #D9D2C3; font-size: .97rem; }
@media (max-width: 700px) { .steps { grid-template-columns: 1fr; } }

/* footer: the green band Arturo asked for, with the business details in it */
.site-foot { background: var(--green-dk); color: #CFC7B6; padding: 56px 0 28px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; }
.foot-logo img { height: 58px; width: auto; margin-bottom: 18px; }
.site-foot h3 { font: 500 .78rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--brass); margin-bottom: 14px; }
.site-foot a { color: var(--plaster); text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.site-foot p { margin: 0 0 6px; }
.legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(212,182,126,.25); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .82rem; color: #A39C8D; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr; } }

/* mobile call bar */
.callbar { display: none; }
@media (max-width: 700px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; box-shadow: 0 -2px 12px rgba(0,0,0,.15); }
  .callbar a { min-height: 56px; display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font: 500 .9rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
  .callbar svg { width: 18px; height: 18px; }
  .callbar .c1 { background: var(--brass); color: var(--iron); }
  .callbar .c2 { background: var(--green); color: var(--plaster); }
  body { padding-bottom: 56px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .gallery img { transition: none; } }
