/*
Theme Name: Summy Excavating One Page
Theme URI: https://example.com/summy-excavating-one-page
Author: Custom Theme
Author URI: https://example.com
Description: One-page WordPress theme for Summy Excavating in Chetopa, KS. Built to match the provided business cards with simple phone-only contact and local SEO markup.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: summy-excavating
Tags: one-page, business, responsive, custom-background
*/

:root {
  --red: #d61f2c;
  --red-dark: #9f111b;
  --ink: #151515;
  --muted: #5d5a55;
  --paper: #ffffff;
  --cream: #f5f0e8;
  --dirt: #2c261f;
  --dirt-light: #756b5a;
  --yellow: #d49a27;
  --shadow: 0 24px 70px rgba(0,0,0,.22);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #f4efe7;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.site-shell { min-height: 100vh; overflow-x: hidden; }
.container { width: min(1180px, calc(100% - 34px)); margin: 0 auto; }

.call-top {
  background: var(--red);
  color: #fff;
  letter-spacing: .03em;
  text-transform: uppercase;
  font-weight: 900;
  border-bottom: 4px solid rgba(0,0,0,.18);
}
.call-top .container {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.call-top__area { font-size: clamp(.78rem, 2vw, .96rem); }
.call-top__phone {
  font-size: clamp(1.1rem, 3vw, 1.55rem);
  text-decoration: none;
  white-space: nowrap;
}

.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(54px, 8vw, 96px) 0 clamp(38px, 6vw, 72px);
  color: #fff;
  background: #14110f url('assets/images/hero-equipment.jpg') center/cover no-repeat;
}
.hero:before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(100deg, rgba(13,12,10,.94) 0%, rgba(28,24,18,.86) 46%, rgba(0,0,0,.47) 100%);
}
.hero:after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 130px;
  z-index: -1;
  background: linear-gradient(0deg, rgba(0,0,0,.35), transparent);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 480px);
  gap: clamp(36px, 6vw, 76px);
  align-items: start;
}
.hero-copy { min-width: 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  background: rgba(214,31,44,.92);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
}
.hero h1 {
  margin: 19px 0 8px;
  font-size: clamp(3rem, 6.5vw, 5.35rem);
  line-height: .88;
  letter-spacing: .01em;
  text-transform: uppercase;
  text-shadow: 0 7px 0 rgba(0,0,0,.18);
}
.hero h1 span { display: block; color: #fff; }
.hero-subtitle {
  max-width: 700px;
  margin: 0 0 24px;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  color: rgba(255,255,255,.9);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
  margin: 26px 0 28px;
}
.btn-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 22px;
  border-radius: 12px;
  background: var(--red);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .04em;
  box-shadow: 0 13px 30px rgba(0,0,0,.3);
  border: 2px solid rgba(255,255,255,.18);
}
.btn-call:hover { background: var(--red-dark); }
.voicemail-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 15px;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,.3);
  background: rgba(0,0,0,.28);
  color: #fff;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .05em;
}
.quick-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  max-width: 780px;
}
.quick-card {
  padding: 18px;
  border-radius: 15px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
}
.quick-card strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .82rem;
}
.quick-card span { color: rgba(255,255,255,.84); }
.business-card-display {
  position: relative;
  align-self: end;
  margin-top: clamp(78px, 11vw, 138px);
  padding: 14px;
  border-radius: 26px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.business-card-display__label {
  position: absolute;
  top: -18px;
  left: 28px;
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--red);
  text-transform: uppercase;
  font-size: .75rem;
  letter-spacing: .08em;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
}
.business-card-display img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0,0,0,.28);
}

.card-section {
  padding: 34px 0;
  background: #fff;
  border-bottom: 1px solid #e7dfd4;
}
.section-kicker {
  margin: 0 0 8px;
  text-transform: uppercase;
  color: var(--red);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .13em;
}
.section-title {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 3.1rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.section-copy {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 760px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.card-preview {
  padding: 12px;
  border-radius: 20px;
  background: #f0e9dd;
  box-shadow: 0 18px 45px rgba(36,30,24,.14);
  border: 1px solid #e3d6c6;
}
.card-preview img { border-radius: 14px; width: 100%; }

.services {
  padding: clamp(54px, 8vw, 94px) 0;
  background: var(--cream);
}
.services-head {
  display: grid;
  grid-template-columns: 1fr minmax(250px, 420px);
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}
.phone-box {
  border-left: 8px solid var(--red);
  background: #fff;
  padding: 22px;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(50,41,32,.1);
}
.phone-box p { margin: 0; color: var(--muted); }
.phone-box a {
  display: inline-block;
  margin-top: 8px;
  color: var(--red);
  text-decoration: none;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1;
  font-weight: 900;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.service-card {
  min-height: 190px;
  padding: 24px 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(50,41,32,.08);
  border: 1px solid #e7ded1;
  position: relative;
  overflow: hidden;
}
.service-card:before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: var(--red);
}
.service-card__number {
  display: block;
  margin-bottom: 22px;
  color: #d7c8b4;
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 900;
}
.service-card h3 {
  margin: 0 0 10px;
  text-transform: uppercase;
  line-height: 1.05;
  font-size: 1.35rem;
}
.service-card p { margin: 0; color: var(--muted); }

.local-seo {
  padding: clamp(44px, 6vw, 72px) 0;
  background: #fff;
  border-top: 1px solid #e7dfd4;
  border-bottom: 1px solid #e7dfd4;
}
.local-seo-grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(300px, 1fr);
  gap: 28px;
  align-items: center;
}
.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.area-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #f4efe7;
  border: 1px solid #e1d6c6;
  color: #2c261f;
  font-weight: 900;
  font-size: .92rem;
}

.area {
  position: relative;
  isolation: isolate;
  padding: clamp(58px, 8vw, 94px) 0;
  color: #fff;
  background: #201b16 url('assets/images/equipment-field.jpg') center/cover no-repeat;
}
.area:before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(16,14,12,.94), rgba(16,14,12,.75), rgba(16,14,12,.48));
}
.area-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(270px, 460px);
  gap: 30px;
  align-items: center;
}
.area .section-copy { color: rgba(255,255,255,.82); }
.address-card {
  background: rgba(255,255,255,.95);
  color: var(--ink);
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--shadow);
}
.address-card h3 {
  margin: 0 0 14px;
  color: var(--red);
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: .08em;
}
.address-card p {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 800;
}
.address-card a {
  color: var(--red);
  font-weight: 900;
  text-decoration: none;
}
.note {
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid #e3d6c6;
  color: var(--muted);
  font-size: .95rem;
}

.final-call {
  padding: 38px 0;
  background: var(--red);
  color: #fff;
  text-align: center;
}
.final-call h2 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 5vw, 4.2rem);
  text-transform: uppercase;
  line-height: .95;
}
.final-call p { margin: 0 0 20px; font-weight: 800; }
.final-call .btn-call {
  background: #fff;
  color: var(--red);
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
}
.final-call .btn-call:hover { background: #f7eee1; }
.footer {
  padding: 22px 0;
  background: #14110f;
  color: rgba(255,255,255,.74);
  text-align: center;
  font-size: .92rem;
}
.footer strong { color: #fff; }

@media (max-width: 980px) {
  .hero-grid,
  .services-head,
  .local-seo-grid,
  .area-grid { grid-template-columns: 1fr; }
  .business-card-display { max-width: 560px; margin-top: 16px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .call-top .container { flex-direction: column; justify-content: center; padding: 10px 0; gap: 3px; }
  .hero { padding-top: 42px; }
  .hero h1 { font-size: clamp(2.45rem, 13.5vw, 3.8rem); }
  .quick-info, .card-grid, .services-grid { grid-template-columns: 1fr; }
  .btn-call { width: 100%; }
  .voicemail-badge { width: 100%; }
  .card-section { padding-top: 26px; }
  .service-card { min-height: auto; }
}
