/* Garcia Irrigation LLC — rebuilt from the GoDaddy site, September 2026.
   Palette from the logo: deep blue and leaf green. Type as the old site:
   Old Standard TT for headings, Merriweather for text. */
:root {
  --blue: #0a378c;
  --blue-dark: #072a6b;
  --blue-soft: #e7eef9;
  --green: #4c9a2a;
  --green-dark: #3b7a20;
  --ink: #1f2933;
  --muted: #5b6770;
  --line: #d9e0e8;
  --paper: #ffffff;
  --ground: #f7f9fb;
  --font-head: "Old Standard TT", Georgia, "Times New Roman", serif;
  --font-body: "Merriweather", Georgia, serif;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--green); outline-offset: 2px;
}
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; color: var(--blue); text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; color: var(--ink); }
p { margin: 0 0 1em; max-width: 68ch; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 20px; }
/* Wider on big screens, as the GoDaddy site's container: 1160 px of content
   from 1280 px of screen, 1280 px from 1536 (Jorge, 21 Nov 2026: «haz el
   width del container más ancho»). */
@media (min-width: 1280px) { :root { --max: 1200px; } }
@media (min-width: 1536px) { :root { --max: 1320px; } }

/* Header */
.topbar { background: var(--blue-dark); color: #fff; font-size: .92rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 6px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
header.site { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.brand img { height: 56px; width: auto; }
nav.main ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; }
nav.main a { display: block; padding: 8px 12px; text-decoration: none; color: var(--ink); font-family: var(--font-head); font-size: 1.05rem; border-radius: 6px; }
nav.main a:hover { background: var(--blue-soft); }
nav.main a[aria-current="page"] { color: var(--blue); border-bottom: 2px solid var(--green); border-radius: 0; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; font: inherit; cursor: pointer; }
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  nav.main { display: none; width: 100%; }
  nav.main.open { display: block; }
  nav.main ul { flex-direction: column; padding-bottom: 8px; }
  header.site .wrap { flex-wrap: wrap; }
}

/* Buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 8px; text-decoration: none; font-family: var(--font-head); font-size: 1.05rem; border: 2px solid transparent; cursor: pointer; }
.btn-primary { background: var(--green); color: #fff; border-color: var(--green); }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.15); }
.btn-blue { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-blue:hover { background: var(--blue-dark); }

/* Hero */
.hero { position: relative; color: #fff; background: var(--blue-dark); overflow: hidden; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero .wrap { position: relative; padding-block: clamp(56px, 10vw, 120px); max-width: 780px; text-align: center; }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.15rem; margin-inline: auto; }
.hero .license { display: inline-block; margin-top: 8px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; font-size: .95rem; }
.hero .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
/* Home hero, as the GoDaddy site (Jorge, 21 Nov 2026): two photos side by
   side and a blue disc in the middle with the welcome and the license.
   Sizes and colour copied from the original: 280 / 400 / 450 px, the logo
   blue at 90 %, 56 px above and below. */
.hero-split { position: relative; display: flex; align-items: center; justify-content: center; min-height: 300px; padding-block: 56px; background: var(--blue-dark); overflow: hidden; }
.hero-split .halves { position: absolute; inset: 0; display: flex; }
.hero-split .half { flex: 1; background-size: cover; background-repeat: no-repeat; background-position: 50% 50%; }
.hero-split .half-sprinkler { background-image: url("/assets/img/hero-sprinkler.jpg"); }
.hero-split .half-garden { background-image: url("/assets/img/hero-garden.jpg"); }
.hero-split .disc { position: relative; width: 280px; height: 280px; border-radius: 50%; background: rgba(10, 55, 140, .9); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.hero-split .disc > * { width: 70.7%; }
.hero-split h1 { color: #fff; font-weight: 700; font-size: 28px; line-height: 1.27; margin: 0 0 12px; }
.hero-split p { margin: 0; font-size: 16px; line-height: 1.5; }
.hero-split .disc a { color: #d5d6de; }
.hero-split .disc a:hover { color: #fff; }
@media (min-width: 768px) {
  .hero-split .disc { width: 400px; height: 400px; }
  .hero-split h1 { font-size: 33px; }
  .hero-split p { font-size: 17px; }
}
@media (min-width: 1024px) {
  .hero-split { min-height: 60vh; }
  .hero-split .disc { width: 450px; height: 450px; }
}
@media (min-width: 1280px) { .hero-split h1 { font-size: 39px; } }
@media (min-width: 1536px) { .hero-split h1 { font-size: 42px; } }

/* The advantage block: one row per point, the photo and the text side by
   side and swapping sides, as the GoDaddy site; the photos cut 2:1 the way
   it cut them. */
.advantage h2 { text-align: center; margin-bottom: 1em; }
.advantage .row { gap: 48px; padding-block: 24px; }
.advantage .row + .row { border-top: 0; }
.advantage .row img { aspect-ratio: 2 / 1; border-radius: 0; object-position: 50% 50%; }
.advantage .row img[src$="hard-at-work.jpg"] { object-position: 50% 59%; }
.advantage .text h4 { color: var(--blue); font-size: 1.35rem; }
.advantage .text p { margin-bottom: 0; }

.page-title { background: var(--blue-soft); }
.page-title .wrap { padding-block: clamp(36px, 6vw, 64px); }
.page-title p { color: var(--muted); font-size: 1.1rem; }
.page-title .lead-strong { font-family: var(--font-head); color: var(--green-dark); font-size: 1.45rem; margin-bottom: .4em; }
.page-title p:last-child { margin-bottom: 0; }
.info h4:first-child { margin-top: 0; }
/* A title band with the page's photo beside the text (Services: the two
   trucks, as the original opens the page). */
.page-title.with-photo .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.page-title.with-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.page-title.with-photo p { margin-bottom: 0; }
@media (max-width: 820px) { .page-title.with-photo .wrap { grid-template-columns: 1fr; gap: 24px; } }

/* Sections */
section.block { padding-block: clamp(40px, 7vw, 80px); }
section.block.tint { background: var(--ground); }
.eyebrow { font-family: var(--font-head); color: var(--green-dark); letter-spacing: .06em; text-transform: uppercase; font-size: .85rem; margin-bottom: 6px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card .body { padding: 20px 22px 24px; }
.card h4 { color: var(--blue); }
.card p:last-child { margin-bottom: 0; }

/* Alternating rows (services) */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding-block: 28px; }
.row + .row { border-top: 1px solid var(--line); }
.row img { border-radius: 12px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.row.flip .media { order: 2; }
@media (max-width: 820px) { .row { grid-template-columns: 1fr; gap: 20px; } .row.flip .media { order: 0; } }
/* Services: each title a little larger (Jorge, 21 Nov 2026), and the
   photo of the man in the pipe framed on him. */
.services .row h3 { font-size: 1.7rem; }
.services .row img[src$="hard-at-work.jpg"] { object-position: 50% 60%; }

/* Partners: as large as on the GoDaddy site, each logo a link to its maker */
.partners { display: flex; gap: 40px 64px; align-items: center; justify-content: center; flex-wrap: wrap; padding-block: 12px; }
.partners a { display: block; transition: opacity .2s ease, transform .2s ease; }
.partners a:hover { opacity: .85; transform: translateY(-2px); }
.partners img { max-height: 96px; max-width: 280px; width: auto; height: auto; object-fit: contain; }
/* Hunter's logo is a long thin strip: give it more room so it reads at the others' size. */
.partners img[src$="hunter-hydrawise.png"] { max-width: 400px; }
@media (max-width: 600px) { .partners { gap: 28px; } .partners img { max-height: 64px; max-width: 220px; } }

/* About Us (Jorge, 21 Nov 2026): the vans photo first, as the original;
   Who We Serve as photo tiles instead of text cards; the video of the
   original, loaded from YouTube only when played. */
section.block.intro { padding-top: 32px; }
.lead-photo { width: 100%; aspect-ratio: 1574 / 518; object-fit: cover; border-radius: 12px; margin-bottom: 28px; }
/* The story runs the container's full width, in one column (Jorge: «no me
   gusta el texto recortado a una columna… ponlo full width»). */
.story p { max-width: none; margin: 0; }
.section-lead { color: var(--muted); font-size: 1.1rem; margin-top: -.4em; }
.serve { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; margin-top: 8px; }
.serve-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; margin-bottom: 18px; }
.serve-item h3 { color: var(--blue); font-size: 1.3rem; padding-left: 12px; border-left: 4px solid var(--green); }
.serve-item p { margin-bottom: 0; }
.video { max-width: 960px; margin: 20px auto 0; }
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #000; cursor: pointer; box-shadow: 0 12px 32px rgba(7, 42, 107, .18); }
.yt img { width: 100%; height: 100%; object-fit: cover; }
.yt .play { position: absolute; left: 50%; top: 50%; width: 76px; height: 54px; margin: -27px 0 0 -38px; border-radius: 14px; background: rgba(10, 55, 140, .92); transition: background .2s ease; }
.yt .play::after { content: ""; position: absolute; left: 30px; top: 16px; border-style: solid; border-width: 11px 0 11px 19px; border-color: transparent transparent transparent #fff; }
.yt:hover .play { background: var(--green); }
.video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; }

/* Gallery */
/* Three per row at most (Jorge, 21 Nov 2026), two on a tablet or phone;
   each photo opens in the lightbox below. */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 820px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 440px) { .gallery figcaption { font-size: .82rem; } }
.gallery figure { margin: 0; }
.gallery a { cursor: zoom-in; }
.gallery a { display: block; border-radius: 10px; overflow: hidden; background: var(--ground); }
.gallery img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .25s ease; }
.gallery a:hover img { transform: scale(1.03); }
.gallery figcaption { font-size: .9rem; color: var(--muted); padding: 8px 4px 0; }
@media (prefers-reduced-motion: reduce) { .gallery img { transition: none; } html { scroll-behavior: auto; } }

/* Lightbox: a photo of the gallery over the page, with its caption, the
   previous and next ones, and Esc, the arrows or a swipe to move. */
dialog.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #fff; overflow: hidden; }
dialog.lightbox::backdrop { background: rgba(4, 14, 34, .94); }
dialog.lightbox:focus { outline: none; }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 64px 72px 28px; box-sizing: border-box; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 140px); width: auto; height: auto; object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox figcaption { font-family: var(--font-head); font-size: 1.05rem; text-align: center; color: #e5ebf5; }
.lightbox .count { color: #9fb0c7; font-size: .9rem; margin-left: 10px; font-family: var(--font-body); }
.lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s ease; }
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lightbox .close { top: 14px; right: 14px; }
.lightbox .prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
  .lightbox figure { padding: 60px 10px 20px; }
  .lightbox .prev, .lightbox .next { top: auto; bottom: 14px; transform: none; }
}

/* Reviews: real Google reviews copied by hand, in three columns that let
   each card take its own height (a long review does not stretch a row). */
.review-summary { display: flex; align-items: center; gap: 20px 28px; flex-wrap: wrap; padding: 22px 28px; margin-bottom: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.review-summary .score { margin: 0; font-family: var(--font-head); font-size: 3.4rem; line-height: 1; color: var(--blue); }
.review-summary p { margin: 0; }
.review-summary span { color: var(--muted); font-size: .9rem; }
.review-summary .btn { margin-left: auto; }
.review-grid { columns: 3 300px; column-gap: 24px; }
.review { break-inside: avoid; display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; box-shadow: 0 6px 20px rgba(7, 42, 107, .06); }
.review header { display: flex; align-items: center; gap: 12px; }
.review header div { display: grid; line-height: 1.3; }
.review header strong { font-family: var(--font-head); color: var(--blue); font-size: 1.08rem; }
.review header span { color: var(--muted); font-size: .85rem; }
.review .avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-size: 1.1rem; }
.review .a0 { background: #0a378c; } .review .a1 { background: #4c9a2a; } .review .a2 { background: #b4532a; }
.review .a3 { background: #6b4fa3; } .review .a4 { background: #1d7f8c; } .review .a5 { background: #a8326e; }
.stars { margin: 0; color: #f2b01e; font-size: 1.15rem; letter-spacing: 2px; }
.review-summary .stars { font-size: 1.5rem; }
.review blockquote { margin: 0; }
.review blockquote p { margin: 0 0 .7em; font-size: 1rem; line-height: 1.65; max-width: none; }
.review blockquote p:last-child { margin-bottom: 0; }
.review .tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.review .tags li { font-size: .8rem; color: var(--green-dark); background: #eef6e8; border-radius: 999px; padding: 3px 10px; }
.review .reply { border-left: 3px solid var(--blue-soft); padding: 4px 0 4px 14px; font-size: .92rem; }
.review .reply strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: .92rem; margin-bottom: 2px; }
.review .reply p { margin: 0; color: var(--muted); }
/* An example card still waiting for its real review shows it plainly. */
.review[data-placeholder] { border-style: dashed; border-color: #c9a227; background: #fffdf4; }
@media (max-width: 600px) { .review-summary .btn { margin-left: 0; } }
.review-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.btn-outline-blue { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline-blue:hover { background: var(--blue); color: #fff; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
form.contact { display: grid; gap: 14px; }
form.contact label { display: grid; gap: 6px; font-family: var(--font-head); }
form.contact input, form.contact textarea { font: inherit; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; width: 100%; background: #fff; }
form.contact textarea { min-height: 150px; resize: vertical; }
form.contact .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: 12px 14px; border-radius: 8px; display: none; }
.form-msg.ok { display: block; background: #e6f4e0; color: var(--green-dark); }
.form-msg.err { display: block; background: #fdecea; color: #8a1f11; }
.info h4 { margin-top: 1.2em; font-size: 1.45rem; color: var(--blue); }
table.hours { border-collapse: collapse; width: 100%; max-width: 360px; font-variant-numeric: tabular-nums; }
table.hours td { padding: 6px 0; border-bottom: 1px solid var(--line); }
table.hours td:first-child { width: 4.5em; font-family: var(--font-head); }

/* CTA band: the light blue of the page title band (Jorge, 21 Nov 2026:
   «el CTA déjalo en color del bg del hero y quítale el grid»), so the
   outline buttons turn blue on it. */
.cta { background: var(--blue-soft); color: var(--ink); text-align: center; }
.cta h2 { color: var(--blue); }
.cta .wrap { padding-block: clamp(36px, 6vw, 64px); }
.cta .btn-outline { color: var(--blue); border-color: var(--blue); }
.cta .btn-outline:hover { background: var(--blue); color: #fff; }

/* Footer */
footer.site { background: var(--blue-dark); color: #cfd8e6; font-size: .95rem; }
footer.site .wrap { padding-block: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
footer.site h4 { color: #fff; }
footer.site a { color: #fff; }
footer.site p { margin-bottom: .4em; }
footer.site .legal { grid-column: 1 / -1; max-width: none; display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.15); padding-top: 16px; color: #9fb0c7; font-size: .85rem; }
footer.site .legal .powered a { color: #fff; }
/* The CSS Connect app on the right of the footer, with the stores' own
   badges (Jorge, 21 Nov 2026). Google's badge carries a clear margin in the
   artwork, so it is drawn larger and pulled in to sit level with Apple's. */
footer.site .get-app p { max-width: none; }
/* On a wide screen the app column is the widest and sits flush right, its
   edge in line with "Powered by Vorm" below (Jorge, 21 Nov 2026). */
@media (min-width: 900px) {
  footer.site .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.5fr); }
  footer.site .get-app { text-align: right; }
  footer.site .get-app .store-badges { justify-content: flex-end; flex-wrap: nowrap; }
}
.store-badges { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 10px 0 8px; }
.store-badges a { display: block; line-height: 0; }
.store-badges img { max-width: none; }
.store-badges img[src$="badge-app-store.svg"] { height: 40px; width: auto; }
/* The artwork is 646x250 with the badge at 41..604 x 41..208: at 60 px tall the badge is 40 px and the clear margin 10 px all round. */
.store-badges img[src$="badge-google-play.png"] { height: 60px; width: auto; margin: -10px; }
footer.site .app-links { font-size: .88rem; color: #9fb0c7; }
