/* =========================================================
   Amoza Roofing Los Angeles - Contact Page
   ========================================================= */

/* Hero */
.ct-hero {
  position: relative;
  padding: 64px 0 120px;
  background:
    linear-gradient(120deg, rgba(8, 22, 42, .95) 0%, rgba(8, 22, 42, .86) 55%, rgba(8, 22, 42, .55) 100%),
    url("../images/hero-roofer-los-angeles.jpg") center 30% / cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.ct-hero::after {
  content: "";
  position: absolute; right: -80px; top: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  border: 40px solid rgba(255, 77, 13, .18);
}
.ct-hero .breadcrumbs, .ct-hero .breadcrumbs a { color: #d6deea; }
.ct-hero h1 { color: #fff; font-size: clamp(32px, 4vw, 52px); font-weight: 800; line-height: 1.12; max-width: 760px; }
.ct-hero h1 .accent { color: #ff5a1f; }
.ct-hero-sub { font-size: 18px; line-height: 1.65; color: #dbe3ee; max-width: 640px; margin-top: 16px; }
.ct-hero-phone {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 28px; padding: 12px 26px 12px 12px;
  background: #ff0000; border-radius: 60px; color: #fff;
  box-shadow: 0 10px 26px rgba(255, 0, 0, .35);
  transition: transform .2s, box-shadow .2s;
}
.ct-hero-phone:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255, 0, 0, .45); }
.ct-hero-phone .ic { width: 48px; height: 48px; border-radius: 50%; background: #fff; color: #ff0000; display: grid; place-items: center; font-size: 19px; }
.ct-hero-phone small { display: block; font-size: 13px; opacity: .9; }
.ct-hero-phone strong { font-family: var(--font-head); font-size: 24px; font-weight: 700; }

/* Contact cards */
.ct-cards-wrap { position: relative; z-index: 2; margin-top: -76px; }
.ct-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ct-card {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  background: #fff; border-radius: 16px; padding: 30px 28px;
  box-shadow: 0 16px 40px rgba(13, 36, 64, .14);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.ct-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.ct-card:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(13, 36, 64, .18); }
.ct-card:hover::after { transform: scaleX(1); }
.ct-ic { width: 60px; height: 60px; border-radius: 16px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 24px; margin-bottom: 18px; box-shadow: 0 8px 18px rgba(245, 20, 27, .3); }
.ct-card h2 { font-size: 21px; font-weight: 700; margin-bottom: 6px; }
.ct-card p { font-size: 15px; color: var(--muted); line-height: 1.55; margin-bottom: 14px; }
.ct-card strong { margin-top: auto; font-family: var(--font-head); font-size: 17px; color: var(--red); overflow-wrap: anywhere; }

/* Form + side */
.ct-main { padding: 64px 0; }
.ct-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 34px; align-items: start; }
.ct-form-card { background: #fff; border-radius: 18px; padding: 36px 38px; box-shadow: 0 14px 40px rgba(13, 36, 64, .1); border: 1px solid #edf0f4; }
.ct-form-intro { color: var(--muted); font-size: 15.5px; margin: -6px 0 22px; }
.ct-form { display: flex; flex-direction: column; gap: 16px; }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ct-form label > span { display: block; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--navy); margin-bottom: 7px; }
.ct-form input, .ct-form select { height: 48px; font-size: 15px; background: #f8f9fb; }
.ct-form textarea { font-size: 15px; background: #f8f9fb; }
.ct-form input:focus, .ct-form select:focus, .ct-form textarea:focus { background: #fff; }
.ct-pref { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.ct-pref legend { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--navy); margin-bottom: 8px; width: 100%; }
.ct-pref label { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; cursor: pointer; }
.ct-pref input { width: 18px; height: 18px; accent-color: var(--red); }
.ct-form .btn { height: 54px; font-size: 17px; margin-top: 4px; }

.ct-side { display: flex; flex-direction: column; gap: 22px; }
.ct-side-card { background: #fff; border-radius: 18px; padding: 28px; box-shadow: 0 10px 30px rgba(13, 36, 64, .08); border: 1px solid #edf0f4; }
.ct-side-card h3 { font-size: 19px; margin-bottom: 12px; }
.ct-navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.ct-navy h2 { color: #fff; font-size: 22px; margin-bottom: 18px; }
.ct-trust { display: grid; gap: 16px; }
.ct-trust li { display: flex; gap: 14px; align-items: flex-start; }
.ct-trust i { width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; background: rgba(255, 255, 255, .1); color: #ff7a45; display: grid; place-items: center; font-size: 17px; }
.ct-trust strong { display: block; font-family: var(--font-head); font-size: 16px; }
.ct-trust span { font-size: 14px; color: #c9d3e0; }
.ct-urgent { display: flex; gap: 16px; align-items: flex-start; background: #fff4ee; border-color: #ffd9c6; }
.ct-urgent h3 { margin-bottom: 4px; }
.ct-urgent p { font-size: 14.5px; color: var(--muted); margin-bottom: 14px; }
.ct-urgent .btn { height: 46px; font-size: 15px; }
.ct-ic-sm { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 18px; }
.ct-svc { display: grid; grid-template-columns: 1fr; gap: 2px; }
.ct-svc a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: 14.5px; color: var(--navy); transition: background .2s, color .2s; }
.ct-svc a i { width: 18px; text-align: center; color: var(--red); font-size: 14px; }
.ct-svc a:hover { background: #fff1f1; color: var(--red); }

/* Map */
.ct-map-sec { padding: 10px 0 64px; }
.ct-map { position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 14px 40px rgba(13, 36, 64, .12); background: #dfe6ee; }
.ct-map iframe { display: block; width: 100%; height: 460px; border: 0; }
.ct-map-card {
  position: absolute; left: 28px; top: 50%; transform: translateY(-50%);
  width: 320px; background: #fff; border-radius: 16px; padding: 26px;
  box-shadow: 0 16px 40px rgba(13, 36, 64, .2);
  border-top: 5px solid var(--red);
}
.ct-map-card h3 { font-size: 19px; margin-bottom: 14px; }
.ct-map-card p { display: flex; gap: 12px; font-size: 15px; line-height: 1.5; margin-bottom: 10px; color: var(--text); }
.ct-map-card p i { color: var(--red); margin-top: 4px; width: 16px; text-align: center; }
.ct-map-card p a:hover { color: var(--red); }
.ct-map-card .btn { margin-top: 8px; height: 46px; width: 100%; font-size: 15px; }

/* Responsive */
@media (max-width: 1100px) {
  .ct-grid { grid-template-columns: 1fr; }
  .ct-side { display: grid; grid-template-columns: 1fr 1fr; }
  .ct-side .ct-side-card:last-child { grid-column: 1 / -1; }
  .ct-svc { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .ct-cards { grid-template-columns: 1fr; gap: 16px; }
  .ct-map-card { position: static; transform: none; width: auto; border-radius: 0; box-shadow: none; }
  .ct-map iframe { height: 340px; }
}
@media (max-width: 720px) {
  .ct-hero { padding: 44px 0 100px; }
  .ct-hero-sub { font-size: 16px; }
  .ct-hero-phone strong { font-size: 21px; }
  .ct-form-card { padding: 24px 18px; }
  .ct-row { grid-template-columns: 1fr; }
  .ct-side { display: flex; }
  .ct-svc { grid-template-columns: 1fr; }
  .ct-side-card { padding: 22px 18px; }
  .ct-card { padding: 24px 22px; }
}
