/* =========================================================
   Roofing Savers Inc - Premium Roofing Landing Page Styles
   Technologies: CSS3 only
   ========================================================= */

/* =========================
   ROOT / THEME
   ========================= */
:root {
  --bg: #0f1115;
  --bg-soft: #151922;
  --surface: #171c26;
  --surface-2: #1d2330;
  --surface-3: #222938;
  --text: #f7f8fb;
  --text-soft: #c7cfdb;
  --muted: #96a1b5;
  --line: rgba(255, 255, 255, 0.08);

  --primary: #f59e0b;
  --primary-dark: #d97706;
  --primary-soft: rgba(245, 158, 11, 0.12);

  --success: #16a34a;
  --danger: #ef4444;

  --white: #ffffff;
  --black: #000000;

  --shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 18px 40px rgba(0, 0, 0, 0.18);
  --shadow-lg: 0 28px 60px rgba(0, 0, 0, 0.28);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;

  --container: 1240px;
  --header-height: 82px;

  --transition: 0.3s ease;
  --transition-slow: 0.55s ease;
}

/* =========================
   RESET / BASE
   ========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.08), transparent 25%),
    linear-gradient(180deg, #0f1115 0%, #121722 100%);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

p,
h1,
h2,
h3,
h4 {
  margin-top: 0;
}

::selection {
  background: rgba(245, 158, 11, 0.22);
  color: var(--white);
}

/* =========================
   UTILITIES
   ========================= */
.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: 100px 0;
}

.section-sm {
  padding: 50px 0;
}

.center {
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.18);
  color: #ffd58d;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.text-accent {
  color: var(--primary);
}

.glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 3rem;
}

.section-heading h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.section-heading p {
  color: var(--text-soft);
  font-size: 1.05rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -50px;
  background: var(--primary);
  color: var(--bg);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  z-index: 9999;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

/* =========================
   BUTTONS
   ========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 50px;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), #ffb423);
  color: #111111;
  box-shadow: 0 14px 32px rgba(245, 158, 11, 0.22);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #ffb423, var(--primary-dark));
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.14);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn--large {
  min-height: 56px;
  padding: 1rem 1.5rem;
}

.btn--full {
  width: 100%;
}

/* =========================
   TOPBAR / HEADER / NAV
   ========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.topbar {
  background: rgba(10, 12, 18, 0.92);
  border-bottom: 1px solid var(--line);
}

.topbar__inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.topbar a,
.topbar span {
  font-size: 0.92rem;
  color: var(--text-soft);
}

.topbar i {
  color: var(--primary);
  margin-right: 0.45rem;
}

.navbar {
  background: rgba(15, 17, 21, 0.92);
  border-bottom: 1px solid var(--line);
}

.navbar__inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand__mark {
  width: 50px;
  height: 50px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), #ffb423);
  color: #111111;
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.24);
  flex-shrink: 0;
}

.brand__mark i {
  font-size: 1.15rem;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__text strong {
  font-size: 1.05rem;
}

.brand__text small {
  color: var(--muted);
  margin-top: 0.2rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-links a {
  position: relative;
  color: var(--text-soft);
  font-weight: 600;
  padding: 0.4rem 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.1rem;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================
   HERO
   ========================= */
.hero {
  position: relative;
  min-height: calc(100vh - 122px);
  display: flex;
  align-items: center;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 12, 18, 0.88) 0%, rgba(10, 12, 18, 0.72) 45%, rgba(10, 12, 18, 0.55) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.28));
  z-index: -1;
}

.hero__content {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  padding: 5rem 0;
}

.hero__copy {
  max-width: 760px;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 1.04;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero__text {
  font-size: 1.12rem;
  color: var(--text-soft);
  max-width: 700px;
  margin-bottom: 1.6rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}

.hero__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
  color: var(--text-soft);
  font-weight: 500;
}

.hero__highlights i {
  color: var(--primary);
  margin-right: 0.45rem;
}

.hero__card {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  max-width: 440px;
  justify-self: end;
}

.hero__card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: #ffd58d;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.hero__card h2 {
  font-size: 1.65rem;
  margin-bottom: 0.85rem;
}

.hero__card p {
  color: var(--text-soft);
  margin-bottom: 1rem;
}

.hero__card-list {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1.25rem;
}

.hero__card-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-soft);
}

.hero__card-list i {
  color: var(--primary);
}

.hero__card-actions {
  display: grid;
  gap: 0.8rem;
}

/* =========================
   TRUST BAR
   ========================= */
.trust-bar {
  position: relative;
  margin-top: -42px;
  z-index: 2;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.trust-card {
  background: linear-gradient(180deg, rgba(25, 31, 42, 0.95), rgba(18, 23, 34, 0.95));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  box-shadow: var(--shadow-md);
}

.trust-card i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 1rem;
}

.trust-card h2 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.trust-card p {
  color: var(--text-soft);
  font-size: 0.96rem;
  margin: 0;
}

/* =========================
   ABOUT
   ========================= */
.about__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: center;
}

.image-stack {
  position: relative;
  min-height: 520px;
}

.image-stack img {
  position: absolute;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.image-stack img:first-child {
  width: min(100%, 470px);
  height: 500px;
  left: 0;
  top: 0;
}

.image-stack img:last-child {
  width: min(100%, 320px);
  height: 230px;
  right: 0;
  bottom: 10px;
}

.about__content h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.12;
  margin-bottom: 1rem;
}

.about__content p {
  color: var(--text-soft);
  margin-bottom: 1rem;
}

.stats-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.3rem 1.1rem;
  box-shadow: var(--shadow-sm);
}

.stat-card strong {
  display: block;
  font-size: 2rem;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.55rem;
}

.stat-card span {
  display: block;
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* =========================
   SERVICES
   ========================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.service-card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(245, 158, 11, 0.18);
}

.service-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.service-card__image img {
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-card__image img {
  transform: scale(1.06);
}

.service-card__content {
  padding: 1.4rem;
}

.service-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-soft);
  margin: 0;
}

.service-card--cta {
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.16), transparent 35%),
    linear-gradient(180deg, #171c26, #141924);
}

.service-card--cta .service-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.service-card--cta .btn {
  margin-top: 1rem;
  align-self: flex-start;
}

/* =========================
   WHY US
   ========================= */
.why-us__grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.why-us__content h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.12;
  margin-bottom: 1rem;
}

.why-us__content p {
  color: var(--text-soft);
}

.feature-list {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

.feature-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
}

.feature-item__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 1.05rem;
}

.feature-item h3 {
  margin-bottom: 0.45rem;
}

.feature-item p {
  margin: 0;
}

.why-us__media {
  position: relative;
}

.why-us__media img {
  min-height: 560px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

.floating-badge {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  padding: 1rem 1.15rem;
  border-radius: 20px;
  max-width: 260px;
}

.floating-badge strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

/* =========================
   TESTIMONIALS
   ========================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.testimonial-card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.testimonial-card__stars {
  color: var(--primary);
  margin-bottom: 1rem;
  display: flex;
  gap: 0.25rem;
}

.testimonial-card p {
  color: var(--text-soft);
  margin-bottom: 1.25rem;
}

.testimonial-card__author strong {
  display: block;
}

.testimonial-card__author span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* =========================
   PROCESS
   ========================= */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.process-card {
  position: relative;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.process-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #ffb423);
}

.process-card__number {
  display: inline-flex;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 1rem;
}

.process-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.7rem;
}

.process-card p {
  color: var(--text-soft);
  margin: 0;
}

/* =========================
   GALLERY
   ========================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  min-height: 340px;
  background: var(--surface);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-card:hover img {
  transform: scale(1.06);
}

.gallery-card__label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(15, 17, 21, 0.88);
  color: var(--white);
  font-weight: 700;
  border: 1px solid var(--line);
}

.gallery-card__label--after {
  background: rgba(245, 158, 11, 0.92);
  color: #111111;
  border-color: transparent;
}

/* =========================
   FAQ
   ========================= */
.faq__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.faq__intro h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1.12;
  margin-bottom: 1rem;
}

.faq__intro p {
  color: var(--text-soft);
}

.faq__items {
  display: grid;
  gap: 1rem;
}

.faq-item {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  transition: border-color var(--transition), transform var(--transition);
}

.faq-item[open] {
  border-color: rgba(245, 158, 11, 0.2);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  position: relative;
  padding-right: 2rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--primary);
  font-size: 1.25rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  color: var(--text-soft);
  margin: 1rem 0 0;
}

/* =========================
   CTA BANNER
   ========================= */
.cta-banner {
  padding: 0 0 100px;
}

.cta-banner__inner {
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.18), transparent 28%),
    linear-gradient(180deg, #171c26, #131924);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-banner__content h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 0.8rem;
}

.cta-banner__content p {
  color: var(--text-soft);
  margin: 0;
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* =========================
   CONTACT
   ========================= */
.contact__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: start;
}

.contact__content h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1.12;
  margin-bottom: 1rem;
}

.contact__content p {
  color: var(--text-soft);
}

.contact-info {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

.contact-info__item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
}

.contact-info__item i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
}

.contact-info__item h3 {
  margin-bottom: 0.35rem;
}

.contact-info__item p {
  margin: 0;
}

.contact__form-wrap {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: 1.5rem;
}

.form-header h3 {
  font-size: 1.55rem;
  margin-bottom: 0.4rem;
}

.form-header p {
  color: var(--text-soft);
  margin-bottom: 1.35rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  margin-bottom: 0.45rem;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
}

.form-group select {
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(245, 158, 11, 0.55);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
  border-color: rgba(239, 68, 68, 0.75);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.08);
}

.error-message {
  min-height: 18px;
  margin-top: 0.35rem;
  color: #ff8f8f;
  font-size: 0.88rem;
}

.form-note {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 1rem;
  margin-bottom: 0;
}

.form-status {
  margin-top: 1rem;
  min-height: 24px;
  font-weight: 600;
}

.form-status.success {
  color: #7ee6a0;
}

.form-status.error {
  color: #ff8f8f;
}

/* =========================
   MAP
   ========================= */
.map-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  min-height: 460px;
  background: var(--surface);
}

.map-card iframe {
  width: 100%;
  height: 460px;
  border: 0;
  display: block;
}

/* =========================
   FOOTER
   ========================= */
.site-footer {
  border-top: 1px solid var(--line);
  background: #0c0f14;
  padding-top: 80px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.8fr 0.8fr 0.95fr;
  gap: 2rem;
}

.brand--footer {
  margin-bottom: 1rem;
}

.footer__brand p,
.footer__links ul,
.footer__services ul,
.footer__contact ul {
  color: var(--text-soft);
}

.footer__links h2,
.footer__services h2,
.footer__contact h2 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.footer__links ul,
.footer__services ul,
.footer__contact ul {
  display: grid;
  gap: 0.8rem;
}

.footer__links a:hover {
  color: var(--primary);
}

.footer__contact li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.footer__contact i {
  color: var(--primary);
  margin-top: 0.2rem;
}

.footer__bottom {
  margin-top: 2.5rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer__bottom p {
  color: var(--muted);
  margin: 0;
}

.back-to-top {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), #ffb423);
  color: #111111;
  box-shadow: 0 14px 30px rgba(245, 158, 11, 0.22);
  transition: transform var(--transition), box-shadow var(--transition);
}

.back-to-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(245, 158, 11, 0.28);
}

/* =========================
   REVEAL ANIMATIONS
   ========================= */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s ease, transform 0.75s ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1180px) {
  .hero__content,
  .about__grid,
  .why-us__grid,
  .contact__grid,
  .faq__grid {
    grid-template-columns: 1fr;
  }

  .hero__card {
    justify-self: start;
  }

  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-us__media img {
    min-height: 420px;
  }
}

@media (max-width: 960px) {
  .topbar {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero__content {
    padding: 4rem 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: rgba(15, 17, 21, 0.98);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    width: 100%;
    margin-bottom: 1rem;
  }

  .nav-actions {
    width: 100%;
    flex-direction: column;
  }

  .nav-actions .btn {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-banner__actions {
    width: 100%;
  }

  .cta-banner__actions .btn {
    flex: 1;
  }

  .image-stack {
    min-height: 440px;
  }

  .image-stack img:first-child {
    width: min(100%, 100%);
    height: 360px;
  }

  .image-stack img:last-child {
    width: 240px;
    height: 170px;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 78px 0;
  }

  .section-sm {
    padding: 42px 0;
  }

  .hero__actions,
  .hero__highlights,
  .cta-banner__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn,
  .cta-banner__actions .btn {
    width: 100%;
  }

  .trust-grid,
  .services-grid,
  .testimonials-grid,
  .process-grid,
  .gallery-grid,
  .footer__grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero__card {
    width: 100%;
    max-width: 100%;
  }

  .image-stack {
    min-height: auto;
    display: grid;
    gap: 1rem;
  }

  .image-stack img {
    position: relative;
    inset: auto;
    width: 100% !important;
    height: 260px !important;
  }

  .gallery-card,
  .gallery-card img {
    min-height: 280px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 1.1rem, var(--container));
  }

  .brand__text small {
    display: none;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .hero__text {
    font-size: 1rem;
  }

  .hero__card,
  .contact__form-wrap {
    padding: 1.2rem;
  }

  .feature-item,
  .contact-info__item {
    grid-template-columns: 1fr;
  }

  .feature-item__icon,
  .contact-info__item i {
    margin-bottom: 0.3rem;
  }
}