*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --green: #92d050;
  --green-dark: #7ab842;
  --green-light: #a8e06a;
  --blue: #053D70;
  --blue-dark: #032a4f;
  --blue-light: #0a5a9e;
  --text: #666666;
  --text-dark: #333333;
  --white: #ffffff;
  --off-white: #f7f9fc;
  --light-gray: #eef1f5;
  --border: #e0e4ea;
  --shadow-sm: 0 2px 8px rgba(5,61,112,0.06);
  --shadow-md: 0 4px 20px rgba(5,61,112,0.1);
  --shadow-lg: 0 8px 40px rgba(5,61,112,0.14);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body { font-family: 'Inter', sans-serif; color: var(--text); line-height: 1.7; background: var(--white); overflow-x: hidden; }

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

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

ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ========== BUTTONS ========== */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 32px; border-radius: 50px; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px; border: none; cursor: pointer; transition: var(--transition); white-space: nowrap; }

.btn-green { background: var(--green); color: var(--blue); }

.btn-green:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(146,208,80,0.4); }

.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }

.btn-outline:hover { background: var(--white); color: var(--blue); transform: translateY(-2px); }

.btn-blue { background: var(--blue); color: var(--white); }

.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(5,61,112,0.3); }

.section-label { display: inline-block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--green-dark); margin-bottom: 12px; }

h1, h2, h3, h4, h5 { color: var(--blue); font-weight: 800; line-height: 1.2; }

.section-title { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }

.section-subtitle { font-size: 17px; color: var(--text); max-width: 620px; line-height: 1.7; }

/* ========== TOPBAR ========== */
.topbar { background: var(--blue); color: rgba(255,255,255,0.85); font-size: 13px; padding: 10px 0; }

.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }

.topbar-left { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

.topbar-left a, .topbar-left span { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.85); transition: var(--transition); }

.topbar-left a:hover { color: var(--green); }

.topbar-right { display: flex; align-items: center; gap: 16px; }

.topbar-right a { display: flex; align-items: center; transition: var(--transition); }

.topbar-right a:hover svg { fill: var(--green); stroke: var(--green); }

/* ========== NAVBAR ========== */
.navbar { background: var(--white); position: sticky; top: 0; z-index: 1000; box-shadow: var(--shadow-sm); transition: var(--transition); }

.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 80px; }

.logo img { height: 52px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 36px; }

.nav-links a { font-size: 15px; font-weight: 600; color: var(--blue); position: relative; padding: 4px 0; transition: var(--transition); }

.nav-links a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--green); transition: var(--transition); }

.nav-links a:hover::after { width: 100%; }

.nav-links a:hover { color: var(--green-dark); }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.mobile-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--blue); cursor: pointer; }

/* ========== BREADCRUMB ========== */
.breadcrumb { padding: 16px 0; background: var(--off-white); border-bottom: 1px solid var(--border); font-size: 13px; }

.breadcrumb a { color: var(--blue); font-weight: 600; }

.breadcrumb a:hover { color: var(--green-dark); }

.breadcrumb span { color: var(--text); }

.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 800px; margin: 0 auto; padding: 80px 0; }

.hero-inner h1 { font-size: clamp(28px, 4.5vw, 46px); color: var(--white); margin-bottom: 16px; line-height: 1.15; }

.hero-inner h1 span { color: var(--green); }

.hero-inner h2 { font-size: clamp(16px, 2.2vw, 20px); color: rgba(255,255,255,0.85); font-weight: 500; margin-bottom: 20px; }

.hero-inner p { font-size: 16px; color: rgba(255,255,255,0.7); line-height: 1.8; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ========== BRAND INTRO ========== */
.brand-intro { padding: 100px 0; }

.brand-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.brand-intro-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--light-gray); height: 400px; display: flex; align-items: center; justify-content: center; }

.brand-intro-image .placeholder-img { color: var(--border); font-size: 14px; text-align: center; }

.brand-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }

.brand-feature { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border-radius: var(--radius); background: var(--off-white); transition: var(--transition); }

.brand-feature:hover { background: #edf7e0; transform: translateY(-2px); }

.brand-feature svg { flex-shrink: 0; margin-top: 2px; }

.brand-feature strong { display: block; color: var(--blue); font-size: 14px; margin-bottom: 2px; }

.brand-feature span { font-size: 13px; line-height: 1.5; }

/* ========== MODELS ========== */
.models { padding: 100px 0; background: var(--off-white); }

.models-header { text-align: center; margin-bottom: 48px; }

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

.model-card:hover { border-color: var(--green); transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.model-card-img { height: 200px; background: var(--light-gray); display: flex; align-items: center; justify-content: center; }

.model-card-img .mattress-icon { opacity: 0.3; }

.model-card-body .model-type { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--green-dark); margin-bottom: 6px; }

.model-card-body h4 { font-size: 18px; margin-bottom: 8px; }

.model-card-body .price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }

.price-current { font-size: 24px; font-weight: 800; color: var(--blue); }

.price-original { font-size: 15px; color: #aaa; text-decoration: line-through; }

/* ========== VALUE PROPS ========== */
.value-props { padding: 100px 0; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%); position: relative; overflow: hidden; }

.value-props::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; border-radius: 50%; background: rgba(146,208,80,0.05); }

.value-props-header { text-align: center; margin-bottom: 48px; position: relative; z-index: 2; }

.value-props .section-label { color: var(--green); }

.value-props .section-title { color: var(--white); }

.value-props .section-subtitle { color: rgba(255,255,255,0.65); margin: 0 auto; }

.value-props-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; z-index: 2; }

.vp-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 36px 28px; text-align: center; transition: var(--transition); }

.vp-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(146,208,80,0.3); transform: translateY(-4px); }

.vp-icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(146,208,80,0.1); border: 1px solid rgba(146,208,80,0.25); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }

.vp-card h4 { color: var(--white); font-size: 18px; margin-bottom: 8px; }

.vp-card p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.7; }

/* ========== PRICE TABLE ========== */
.price-table { padding: 100px 0; }

.price-table-header { text-align: center; margin-bottom: 48px; }

.price-grid { max-width: 800px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }

.price-row-header { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; background: var(--blue); color: var(--white); font-size: 14px; font-weight: 700; }

.price-row-data { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; font-size: 14px; border-bottom: 1px solid var(--border); transition: var(--transition); }

.price-row-data:last-child { border-bottom: none; }

.price-row-data:hover { background: #edf7e0; }

.price-cell { padding: 16px 20px; }

.price-cell.size-name { font-weight: 700; color: var(--blue); }

.price-cell.retail { color: #aaa; text-decoration: line-through; }

.price-cell.our-price { font-weight: 800; color: var(--blue); }

.price-cell.savings { font-weight: 700; color: var(--green-dark); }

/* ========== LOCATIONS ========== */
.locations {
  padding: 100px 0;
  background: var(--off-white);
}

.locations-header {
  text-align: center;
  margin-bottom: 48px;
}

.location-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.location-map {
  min-height: 380px;
  background: var(--light-gray);
  position: relative;
  overflow: hidden;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  position: absolute;
  inset: 0;
}

.location-info {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-info h4 {
  font-size: 22px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.location-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
}

.location-detail svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.location-ctas {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.location-ctas .btn { padding: 10px 22px; font-size: 13px; }

.location-pflugerville {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}

/* ========== OTHER BRANDS ========== */
.brand-name:hover { color: #053D70 !important; }

.starting-from {
  display: block; /* Stacks the text nicely above the price */
  font-size: 0.75rem;
  color: var(--text);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

/* ========== AREAS WE SERVE ========== */
.areas-serve { padding: 60px 0 0; }

.areas-serve-inner { text-align: center; }

.areas-serve .section-label { color: var(--green-dark); }

.areas-serve .section-title { font-size: clamp(24px, 3vw, 34px); margin-bottom: 12px; }

.areas-serve p { font-size: 15px; color: var(--text); max-width: 600px; margin: 0 auto 32px; line-height: 1.7; }

.areas-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.area-tag { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 50px; border: 1px solid var(--border); background: var(--white); font-size: 14px; font-weight: 500; color: var(--text-dark); transition: var(--transition); }

.area-tag:hover { border-color: var(--green); background: #edf7e0; }

.area-tag svg { flex-shrink: 0; }

/* ========== CTA SECTION ========== */
.cta-section {
  padding: 100px 0;
  background: var(--blue-dark);
}

.cta-section .section-label {
  color: #92d050;
}

.cta-section h2 {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--white);
  margin-bottom: 32px;
}

.cta-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.cta-left p {
  color: rgba(255,255,255,0.6);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 0;
}

.cta-form {
  background: var(--white);
  border: none;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.cta-form h3 {
  color: var(--blue);
  font-size: 20px;
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group label .req {
  color: #e53e3e;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--off-white);
  color: var(--text-dark);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  background: var(--white);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 5l3 3 3-3' stroke='%2392d050' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form-group select option {
  background: var(--white);
  color: var(--text-dark);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.form-actions .btn-submit {
  background: var(--green);
  color: var(--blue-dark);
  font-weight: 700;
  padding: 12px 32px;
  font-size: 14px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
}

.form-actions .btn-submit:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(146,208,80,0.4);
}

.form-actions .btn-reset {
  background: transparent;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  padding: 12px 24px;
  font-size: 14px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
}

.form-actions .btn-reset:hover {
  border-color: rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.8);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 0.8fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-text {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 6px;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.1);
  text-decoration: none;
  width: fit-content;
}

.footer-social a:not(:has(.footer-social-label)) {
  padding: 9px 13px;
}

.footer-social a i,
.footer-social a svg {
  font-size: 15px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.footer-social-label {
  font-size: 13px;
  font-weight: 500;
}

.footer-social a:hover {
  background: var(--green);
  color: var(--blue);
  border-color: var(--green);
  transform: translateY(-2px);
}

.footer h5 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer ul a:hover { color: var(--green); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
}

.footer-contact-item i {
  color: var(--green);
  margin-top: 3px;
  font-size: 14px;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ========== ANIMATIONS ========== */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }

.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .brand-intro-grid { grid-template-columns: 1fr; }
  .models-grid { grid-template-columns: repeat(2, 1fr); }
  .value-props-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar .container { height: 72px; }
  .logo { flex: 1 1 auto; min-width: 0; }
  .logo img {
    height: auto;
    max-height: 44px;
    max-width: 100%;
  }
  .nav-cta { display: none; }
}
