/* A&A Tractor & Equipment Rentals LLC - premium responsive site */

:root {
  --forest: #123f22;
  --forest-dark: #0b2011;
  --green: #2f7d32;
  --leaf: #74b843;
  --mint: #edf7e8;
  --cream: #fbfaf5;
  --yellow: #f2c94c;
  --yellow-soft: #fff4cc;
  --yellow-glow: rgba(242, 201, 76, 0.35);
  --ink: #152018;
  --muted: #607064;
  --line: rgba(18, 63, 34, 0.14);
  --shadow: 0 24px 70px rgba(18, 63, 34, 0.18);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fff 0%, var(--cream) 55%, #f4f8f1 100%);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1160px, 92vw);
  margin-inline: auto;
}

/* Top Bar */

.topbar {
  background: linear-gradient(90deg, var(--forest-dark), var(--forest));
  color: #fff;
  font-size: 0.9rem;
  border-bottom: 2px solid var(--yellow);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
  flex-wrap: wrap;
}

.topbar a {
  color: var(--yellow);
  font-weight: 800;
}

/* Navigation */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand img {
  width: 54px;
  height: 54px;
}

.brand span small {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--green);
  font-weight: 800;
}

.links {
  display: flex;
  gap: 24px;
  align-items: center;
  font-weight: 700;
  color: #243228;
}

.links a {
  opacity: 0.86;
  transition: 0.25s;
}

.links a:hover {
  opacity: 1;
  color: var(--yellow);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--forest);
  color: #fff !important;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 850;
  box-shadow: 0 12px 30px rgba(18, 63, 34, 0.2);
  border: 1px solid rgba(242, 201, 76, 0.35);
  transition: 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
  background: #0c2f19;
  box-shadow: 0 16px 38px var(--yellow-glow);
}

.btn.light {
  background: #fff;
  color: var(--forest) !important;
  border: 2px solid var(--yellow);
}

.btn.ghost {
  background: transparent;
  color: var(--forest) !important;
  border: 1px solid var(--line);
  box-shadow: none;
}

/* Hero */

.hero {
  position: relative;
  min-height: 84vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #0c2011;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.08);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 40%, rgba(242, 201, 76, 0.28), transparent 32%),
    linear-gradient(90deg, rgba(8, 22, 12, 0.92) 0%, rgba(8, 22, 12, 0.62) 48%, rgba(8, 22, 12, 0.16) 100%),
    linear-gradient(0deg, rgba(8, 22, 12, 0.72), transparent 45%);
}

.hero .container {
  position: relative;
  z-index: 2;
  padding: 88px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid rgba(242, 201, 76, 0.48);
  border-radius: 999px;
  background: rgba(242, 201, 76, 0.16);
  backdrop-filter: blur(16px);
  font-weight: 900;
  font-size: 0.84rem;
  color: var(--yellow);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
  margin: 22px 0 18px;
  max-width: 880px;
}

.hero h1::after {
  content: "";
  display: block;
  width: 120px;
  height: 5px;
  background: var(--yellow);
  border-radius: 999px;
  margin-top: 22px;
  box-shadow: 0 0 28px var(--yellow-glow);
}

.hero p {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 700px;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}

.hero-card {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 900px;
}

.stat {
  padding: 18px;
  border: 1px solid rgba(242, 201, 76, 0.28);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border-radius: 22px;
  box-shadow: 0 0 32px rgba(242, 201, 76, 0.08);
}

.stat b {
  font-size: 1.5rem;
  display: block;
  color: var(--yellow);
}

.stat span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
}

/* Sections */

.section {
  padding: 86px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.kicker {
  color: var(--yellow);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.section h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.055em;
  margin: 8px 0 0;
  position: relative;
}

.section h2::after {
  content: "";
  display: block;
  width: 78px;
  height: 4px;
  background: var(--yellow);
  border-radius: 999px;
  margin-top: 14px;
}

.section-head p {
  max-width: 520px;
  color: var(--muted);
  font-weight: 550;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--yellow);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 18px 45px rgba(18, 63, 34, 0.07);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  right: -50px;
  top: -50px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--yellow-soft);
}

.card h3 {
  font-size: 1.35rem;
  margin: 0 0 10px;
  letter-spacing: -0.03em;
  color: var(--forest);
}

.card p {
  color: var(--muted);
  margin: 0;
}

/* Feature */

.feature {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 34px;
  align-items: center;
}

.photo-stack {
  position: relative;
}

.photo-stack::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  background: var(--yellow-glow);
  filter: blur(85px);
  z-index: -1;
  top: -40px;
  left: -40px;
}

.photo-main {
  width: 100%;
  height: 570px;
  object-fit: cover;
  border-radius: 38px;
  box-shadow: var(--shadow);
  border: 6px solid rgba(242, 201, 76, 0.22);
}

.photo-float {
  position: absolute;
  right: -16px;
  bottom: 34px;
  width: 46%;
  border: 10px solid #fff;
  border-radius: 28px;
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 1.15;
}

.checklist {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--yellow);
  border-radius: 18px;
  padding: 14px;
}

.check i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: var(--forest);
  font-weight: 900;
  font-style: normal;
  flex: none;
}

/* Process */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}

.step {
  background: linear-gradient(145deg, var(--forest), #1d672b);
  color: #fff;
  padding: 24px;
  border-radius: var(--radius);
  min-height: 220px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(242, 201, 76, 0.22);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-size: 4.4rem;
  font-weight: 900;
  letter-spacing: -0.08em;
  color: rgba(242, 201, 76, 0.16);
  position: absolute;
  right: 18px;
  top: 2px;
}

.step h3 {
  margin: 50px 0 8px;
  color: var(--yellow);
}

.step p {
  color: rgba(255, 255, 255, 0.74);
  margin: 0;
}

/* Gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 14px;
}

.gallery-grid img {
  height: 270px;
  width: 100%;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: 0 12px 36px rgba(18, 63, 34, 0.08);
  border: 4px solid rgba(242, 201, 76, 0.14);
}

.gallery-grid img:first-child {
  grid-row: span 2;
  height: 554px;
}

/* CTA */

.cta {
  background:
    radial-gradient(circle at 88% 18%, rgba(242, 201, 76, 0.38), transparent 24%),
    linear-gradient(135deg, var(--forest), #1d672b);
  color: #fff;
  border-radius: 42px;
  padding: 54px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(242, 201, 76, 0.25);
}

.cta::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(242, 201, 76, 0.3);
}

.cta > * {
  position: relative;
}

.cta h2 {
  margin: 0 0 10px;
}

.cta h2::after {
  background: var(--yellow);
}

.cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

/* Contact */

.contact-wrap {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
}

.info-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--yellow);
  border-radius: 32px;
  padding: 28px;
  box-shadow: 0 18px 55px rgba(18, 63, 34, 0.08);
}

.info-row {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.info-row:last-child {
  border: 0;
}

.info-row b {
  display: block;
  color: var(--forest);
}

.map,
.map-card iframe {
  min-height: 520px;
  border: 0;
  width: 100%;
  border-radius: 32px;
  box-shadow: var(--shadow);
  border: 5px solid rgba(242, 201, 76, 0.18);
}

.map-card {
  width: 100%;
}

.form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.form input,
.form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--yellow);
  border-radius: 16px;
  font: inherit;
  background: #fbfdf9;
}

.form textarea {
  min-height: 120px;
}

/* Footer */

.footer {
  background: var(--forest-dark);
  color: #fff;
  padding: 46px 0;
  border-top: 4px solid var(--yellow);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 28px;
}

.footer h3 {
  color: var(--yellow);
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.72);
}

/* Animation */

.mobile-toggle {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

/* Mobile */

@media (max-width: 820px) {
  .topbar {
    display: none;
  }

  .links {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .hero {
    min-height: 78vh;
  }

  .hero-card,
  .cards,
  .feature,
  .process,
  .contact-wrap,
  .footer-grid,
  .cta {
    grid-template-columns: 1fr;
  }

  .photo-main {
    height: 420px;
  }

  .photo-float {
    width: 60%;
    right: 8px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img,
  .gallery-grid img:first-child {
    height: 310px;
    grid-row: auto;
  }

  .section {
    padding: 62px 0;
  }

  .section-head {
    display: block;
  }

  .cta {
    padding: 34px;
    border-radius: 30px;
  }

  .nav.open .links {
    display: grid;
    position: absolute;
    left: 4vw;
    right: 4vw;
    top: 78px;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 5px solid var(--yellow);
    border-radius: 24px;
    padding: 20px;
    box-shadow: var(--shadow);
  }
}

/* Final logo integration + polished logo placements */
.brand img{
  width:64px;
  height:64px;
  object-fit:contain;
  border-radius:50%;
  background:#fff;
  padding:4px;
  border:2px solid rgba(242,201,76,.45);
  box-shadow:0 10px 28px rgba(18,63,34,.12);
}
.logo-showcase{
  background:linear-gradient(135deg,#fff,var(--yellow-soft));
  border:1px solid rgba(242,201,76,.35);
  border-radius:42px;
  padding:44px;
  display:grid;
  grid-template-columns:280px 1fr;
  gap:34px;
  align-items:center;
  box-shadow:0 22px 60px rgba(18,63,34,.10);
  position:relative;
  overflow:hidden;
}
.logo-showcase:before{
  content:"";
  position:absolute;
  right:-90px;
  top:-90px;
  width:260px;
  height:260px;
  border-radius:50%;
  background:rgba(242,201,76,.25);
}
.logo-showcase > *{position:relative;z-index:1;}
.logo-showcase img{
  width:260px;
  height:260px;
  object-fit:contain;
  background:#fff;
  border-radius:50%;
  padding:10px;
  border:4px solid var(--yellow);
  box-shadow:var(--shadow);
}
.logo-showcase h2{margin-top:0;}
.logo-watermark{
  position:absolute;
  right:4vw;
  bottom:30px;
  width:min(240px,34vw);
  opacity:.12;
  filter:drop-shadow(0 20px 40px rgba(0,0,0,.25));
  z-index:1;
}
.hero .container{z-index:3;}
.footer .brand img{width:58px;height:58px;}
.logo-chip{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:#fff;
  border:1px solid rgba(242,201,76,.45);
  border-radius:999px;
  padding:8px 14px 8px 8px;
  color:var(--forest);
  font-weight:900;
  box-shadow:0 12px 30px rgba(18,63,34,.12);
}
.logo-chip img{width:42px;height:42px;border-radius:50%;object-fit:contain;}
.gallery-grid img[src*="equipment-close.jpg"]{display:none;}
@media(max-width:820px){
  .brand img{width:52px;height:52px;}
  .logo-showcase{grid-template-columns:1fr;padding:28px;border-radius:30px;text-align:center;}
  .logo-showcase img{width:210px;height:210px;margin:auto;}
  .logo-watermark{width:170px;right:2vw;bottom:20px;}
}
