/*
Theme Name: Roof Replacement Cost
Theme URI: 
Author: 
Author URI: 
Description: Offline Bootstrap 5.3.2 theme for roof replacement cost calculator
Version: 1.0
License: 
License URI: 
Text Domain: roofreplacementcost
*/

/* ========================================
   CSS CUSTOM PROPERTIES / DESIGN TOKENS
   ======================================== */

:root {
  --radius: 0.5rem;
  
  --background: #ffffff;
  --foreground: #0c2340;
  
  --card: #ffffff;
  --card-foreground: #0c2340;
  
  --popover: #ffffff;
  --popover-foreground: #0c2340;
  
  --primary: #0c2340;
  --primary-foreground: #ffffff;
  
  --secondary: #f0f4f8;
  --secondary-foreground: #0c2340;
  
  --muted: #f5f7fa;
  --muted-foreground: #6b7b8e;
  
  --cta: #2d8a9e;
  --cta-foreground: #ffffff;
  
  --accent: #5cbdb9;
  --accent-foreground: #0c2340;
  
  --brand-blue: #1a4a6e;
  --brand-blue-foreground: #ffffff;
  
  --brand-tint: #e8f4f6;
  
  --success: #2d9e7a;
  
  --destructive: #c9372d;
  --destructive-foreground: #ffffff;
  
  --border: #e2e8f0;
  --input: #dce3eb;
  --ring: #2d8a9e;
  
  --shadow-soft: 0 1px 2px rgba(12, 35, 64, 0.06), 0 8px 24px -8px rgba(12, 35, 64, 0.1);
  --shadow-card: 0 4px 12px rgba(12, 35, 64, 0.07), 0 20px 40px -18px rgba(12, 35, 64, 0.2);
  --shadow-cta: 0 8px 20px -8px rgba(45, 138, 158, 0.55);
  
  --font-sans: "Epilogue", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Urbanist", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.dark {
  --background: #0a1628;
  --foreground: #f0f4f8;
  --card: #111d2e;
  --card-foreground: #f0f4f8;
  --popover: #111d2e;
  --popover-foreground: #f0f4f8;
  --primary: #f0f4f8;
  --primary-foreground: #111d2e;
  --secondary: #1a2d42;
  --secondary-foreground: #f0f4f8;
  --muted: #1a2d42;
  --muted-foreground: #8a9bb0;
  --accent: #e8a87c;
  --accent-foreground: #0a1628;
  --cta: #e8a87c;
  --cta-foreground: #0a1628;
  --brand-blue: #4a7fb5;
  --brand-blue-foreground: #ffffff;
  --brand-tint: #111d2e;
  --destructive: #e85d5d;
  --destructive-foreground: #f0f4f8;
  --border: rgba(255, 255, 255, 0.12);
  --input: rgba(255, 255, 255, 0.15);
  --ring: #4a7fb5;
}

/* ========================================
   BASE STYLES
   ======================================== */

* {
  border-color: var(--border);
  box-sizing: border-box;
}

html {
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  max-width: 100vw;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--primary);
  margin-top: 0;
}

a {
  color: var(--cta);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--brand-blue);
}

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

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  margin: 0;
}

/* ========================================
   SECTION UTILITIES
   ======================================== */

.section-padding {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.section-inner {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.section-inner.narrow {
  max-width: 768px;
}

.section-grid {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  display: grid;
  gap: 2.5rem;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mt-10 {
  margin-top: 2.5rem;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.375rem;
  background-color: var(--cta);
  color: var(--cta-foreground);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-cta);
  font-family: var(--font-sans);
}

.btn-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: var(--cta-foreground);
}

.btn-cta-full {
  width: 100%;
  margin-top: 0.5rem;
}

.btn-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  background-color: var(--brand-blue);
  color: var(--brand-blue-foreground);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2rem;
}

.btn-blue:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: var(--brand-blue-foreground);
}

/* ========================================
   FEATURE ICONS
   ======================================== */

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 0.5rem;
  font-size: 1.25rem;
  line-height: 1;
}

.feature-icon-cta {
  width: 2.75rem;
  height: 2.75rem;
  background-color: var(--cta);
  color: var(--cta-foreground);
  box-shadow: var(--shadow-cta);
}

.feature-icon-success {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background-color: var(--success);
  color: #ffffff;
  font-size: 1.125rem;
}

.feature-icon-muted {
  width: 2.75rem;
  height: 2.75rem;
  background-color: rgba(45, 138, 158, 0.1);
  color: var(--cta);
}

.feature-icon-sm {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  font-size: 0.875rem;
}

.feature-icon-blue {
  background-color: var(--brand-blue);
  color: #ffffff;
}

.feature-icon-cta-light {
  background-color: rgba(45, 138, 158, 0.15);
  color: var(--cta);
  width: 2.75rem;
  height: 2.75rem;
}

/* ========================================
   HEADER
======================================== */

.site-header{
    position:sticky;
    top:0;
    z-index:1040;
    background:rgba(255,255,255,.95);
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
    border-bottom:1px solid var(--border);
}

.header-inner{
    max-width:1280px;
    height:80px;
    margin:auto;
    padding:0 16px;
    display:flex;
    align-items:center;
    gap:16px;
}

.site-logo{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    flex-shrink:0;
}

.logo-icon{
    width:44px;
    height:36px;
}

.logo-title{
    font-size:19px;
    font-weight:800;
    line-height:1;
    color:var(--primary);
}

.logo-accent{
    color:var(--cta);
}

.logo-subtitle{
    margin-top:4px;
    font-size:10px;
    font-weight:600;
    letter-spacing:.18em;
    text-transform:uppercase;
    color:var(--muted-foreground);
}


/* ========================================
   DESKTOP MENU
======================================== */

.desktop-nav{
    display:none;
    margin-left:auto;
}

@media(min-width:992px){

.desktop-nav{
    display:block;
}

.mobile-toggle,
.mobile-nav{
    display:none !important;
}

}

.nav-list{
    display:flex;
    align-items:center;
    list-style:none;
    margin:0;
    padding:0;
    gap:4px;
}

.nav-list>li{
    position:relative;
    list-style:none;
}

.nav-list>li>a{

    display:flex;
    align-items:center;
    padding:10px 14px;

    font-size:14px;
    font-weight:600;

    color:rgba(12,35,64,.85);

    text-decoration:none;

    border-radius:6px;

    transition:.2s;

}

.nav-list>li>a:hover{

    color:var(--primary);

}

/* arrow */

.nav-list .menu-item-has-children>a::after{

    content:"\F282";

    font-family:"bootstrap-icons";

    margin-left:6px;

    font-size:12px;

}

/* submenu */

.sub-menu{

    position:absolute;

    top:100%;

    left:0;

    min-width:230px;

    padding:8px;

    margin:0;

    list-style:none;

    background:#fff;

    border:1px solid var(--border);

    border-radius:8px;

    box-shadow:var(--shadow-card);

    opacity:0;

    visibility:hidden;

    transform:translateY(6px);

    transition:.2s;

    z-index:999;

}

.sub-menu li{

    list-style:none;

}

.sub-menu a{

    display:block;

    padding:10px 12px;

    border-radius:6px;

    color:rgba(12,35,64,.8);

    text-decoration:none;

    font-size:14px;

}

.sub-menu a:hover{

    background:var(--muted);

    color:var(--primary);

}

.menu-item-has-children:hover>.sub-menu{

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}

/* nested */

.sub-menu .sub-menu{

    left:100%;

    top:0;

}


/* ========================================
   CTA
======================================== */

.header-cta{

    margin-left:16px;

}


/* ========================================
   MOBILE BUTTON
======================================== */

.mobile-toggle{

    width:40px;

    height:40px;

    margin-left:auto;

    border:1px solid var(--border);

    background:#fff;

    border-radius:6px;

    display:grid;

    place-items:center;

    cursor:pointer;

}


/* ========================================
   MOBILE MENU
======================================== */

.mobile-nav{

    display:none;

    border-top:1px solid var(--border);

    background:#fff;

}

.mobile-nav.active{

    display:block;

}

.mobile-nav-list{

    list-style:none;

    margin:0;

    padding:12px 16px;

}

.mobile-nav-list li{

    list-style:none;

}

.mobile-nav-list a{

    display:block;

    padding:12px;

    color:var(--foreground);

    text-decoration:none;

    font-weight:600;

    border-radius:6px;

}

.mobile-nav-list a:hover{

    background:var(--muted);

}

.mobile-nav-list .sub-menu{

    position:static;

    opacity:1;

    visibility:visible;

    transform:none;

    display:none;

    border:none;

    box-shadow:none;

    padding-left:16px;

    margin-top:6px;

    background:transparent;

}

.mobile-nav-list .menu-item-has-children.open>.sub-menu{

    display:block;

}

.mobile-nav-list .menu-item-has-children>a::after{

    content:"\F282";

    font-family:"bootstrap-icons";

    float:right;

}

.mobile-cta{

    padding:0 16px 16px;

}

@media(max-width:991px){

.desktop-nav,
.header-cta{

    display:none;

}

}
/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
  position: relative;
  overflow: hidden;
  background-color: var(--primary);
  color: #ffffff;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  z-index: 1;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, var(--primary), rgba(12, 35, 64, 0.85), rgba(12, 35, 64, 0.4));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  gap: 2.5rem;
  padding: 3rem 1rem;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--cta);
}

.hero-title {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.hero-desc {
  margin-top: 1.25rem;
  max-width: 36rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Hero Features Grid */
.hero-features {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-label {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  color: #ffffff;
}

.feature-label span {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

/* Hero Rating */
.hero-rating {
  margin-top: 2rem;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.06);
  padding: 0.75rem 1rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-stars {
  display: flex;
  gap: 0.125rem;
  color: var(--cta);
  font-size: 1rem;
}

.hero-stars i {
  font-size: 1rem;
}

.hero-rating-text {
  margin-top: 0.125rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

/* Hero Form */
.hero-form {
  width: 100%;
}

/* ========================================
   QUOTE FORM
   ======================================== */

.quote-card {
  overflow: hidden;
  border-radius: 0.75rem;
  background-color: #ffffff;
  color: var(--foreground);
  box-shadow: var(--shadow-card);
}

.quote-card-header {
  background-color: var(--primary);
  padding: 1.25rem 1.5rem;
  color: #ffffff;
}

.quote-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
}

.quote-card-title span {
  color: var(--cta);
}

.quote-card-subtitle {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.quote-form {
  display: grid;
  gap: 0.75rem;
  padding: 1.5rem;
}

.form-field {
  display: grid;
  gap: 0.375rem;
}

.form-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--foreground);
}

.form-input,
.form-select {
  height: 2.5rem;
  width: 100%;
  border-radius: 0.375rem;
  border: 1px solid var(--input);
  background-color: var(--background);
  padding: 0 0.75rem;
  font-size: 0.875rem;
  font-family: var(--font-sans);
  color: var(--foreground);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 2px rgba(45, 138, 158, 0.2);
}

.form-select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%230c2340' viewBox='0 0 16 16'%3E%3Cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
}

.form-error {
  font-size: 0.75rem;
  color: var(--destructive);
  display: none;
}

.form-error.is-visible {
  display: block;
}

.form-secure {
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  color: var(--muted-foreground);
}

.form-secure i {
  color: var(--cta);
  font-size: 0.875rem;
}

/* ========================================
   SECTION TITLES & TEXT
   ======================================== */

.section-title {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--primary);
}

.section-title span {
  color: var(--cta);
}

.section-title-sm {
  font-size: 1.5rem;
}

.section-desc {
  margin-top: 1rem;
	font-size: 0.9375rem;
    line-height: 1.625;
    color: rgba(12, 35, 64, 0.9);
    margin-bottom: 1.25rem;
}

.section-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.text-cta {
  color: var(--cta);
}

.text-brand-blue {
  color: var(--brand-blue);
}

/* ========================================
   COST TABLE
   ======================================== */

.cost-table {
  margin-top: 2rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.cost-table-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
}

.cost-list {
  margin-top: 1rem;
}

.cost-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.cost-list li:last-child {
  border-bottom: none;
}

.cost-list li span:first-child {
  font-weight: 500;
  color: var(--foreground);
}

.cost-list li span:last-child {
  font-weight: 600;
  color: var(--primary);
}

.cost-disclaimer {
  margin-top: 1rem;
  font-size: 0.6875rem;
  color: var(--muted-foreground);
}

/* ========================================
   FEATURE CARDS
   ======================================== */

.features-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.feature-card {
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.feature-card-title {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
}

.feature-card-body {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ========================================
   CHECK LIST
   ======================================== */

.check-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

/* ========================================
   CALCULATOR STRIP
   ======================================== */

.calculator-image-wrap {
  position: relative;
}

.calculator-image {
  width: 100%;
  height: 360px;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: var(--shadow-card);
}

.calculator-card {
  position: absolute;
  left: -1rem;
  top: 2rem;
  display: none;
  max-width: 280px;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background-color: #ffffff;
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
}

.calculator-card-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-foreground);
}

.calculator-card-price {
  margin-top: 0.25rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-blue);
}

.calculator-card-meta {
  margin-top: 0.25rem;
  text-align: center;
  font-size: 0.6875rem;
  color: var(--muted-foreground);
}

.progress-bar {
  margin-top: 1rem;
  height: 0.375rem;
  overflow: hidden;
  border-radius: 9999px;
  background-color: var(--muted);
}

.progress-bar-fill {
  height: 100%;
  border-radius: 9999px;
  background-color: var(--brand-blue);
}

.progress-labels {
  margin-top: 0.5rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.625rem;
  color: var(--muted-foreground);
}

.progress-labels span {
  text-align: center;
  line-height: 1.3;
}

.calculator-card-note {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.625rem;
  color: var(--muted-foreground);
}

.calculator-float-icon {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: var(--shadow-card);
  font-size: 1.5rem;
  color: var(--brand-blue);
}

/* ========================================
   TRUST STRIP
   ======================================== */

.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background-color: var(--background);
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.trust-inner {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.trust-label {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted-foreground);
}

.trust-logos {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem 1.5rem;
  opacity: 0.7;
}

.trust-logos span {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary);
}

/* ========================================
   STEPS / HOW IT WORKS
   ======================================== */

.steps-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--brand-tint), var(--background));
}

.steps-wrap {
  position: relative;
  margin-top: 4rem;
}

.steps-roofline {
  pointer-events: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 10rem;
  transform: translateY(-50%);
  display: none;
  color: rgba(45, 138, 158, 0.5);
}

.steps-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-icon-wrap {
  position: relative;
}

.step-icon-wrap > div {
  display: grid;
  place-items: center;
  width: 5rem;
  height: 5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  box-shadow: var(--shadow-card);
}

.step-icon {
  font-size: 2rem;
  color: var(--cta);
}

.step-number {
  position: absolute;
  right: -0.5rem;
  top: -0.5rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: var(--primary);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-foreground);
  box-shadow: var(--shadow-soft);
}

.step-title {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
}

.step-body {
  margin-top: 0.5rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 240px;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

/* ========================================
   CALCULATOR BACKGROUND
   ======================================== */

.bg-brand-tint {
  background-color: #D6EBEF;
}

/* ========================================
   CTA BANNER
   ======================================== */

.cta-banner {
  background-color:#123a6d;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.cta-banner-inner {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.cta-banner-text {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.cta-banner-heading {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-foreground);
}

/* ========================================
   FAQ
   ======================================== */

.faq-wrap {
  text-align: left;
}

.faq-item {
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  box-shadow: var(--shadow-soft);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--primary);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-sans);
}

.faq-trigger:not(.collapsed) .faq-chevron {
  transform: rotate(180deg);
}

.faq-chevron {
  font-size: 1rem;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-body {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ========================================
   CONTENT BODY
   ======================================== */

.content-body {
  margin-top: 1.5rem;
}

.content-body p {
  font-size: 0.9375rem;
  line-height: 1.625;
  color: rgba(12, 35, 64, 0.9);
  margin-bottom: 1.25rem;
}

.content-body h3 {
  padding-top: 1rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

.guide-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  transition: all 0.2s ease;
}

.guide-card:hover {
  transform: translateY(-2px);
  border-color: var(--cta);
}

.guide-card span {
  font-weight: 600;
  color: var(--primary);
}

.guide-card i {
  color: var(--cta);
  transition: transform 0.2s ease;
}

.guide-card:hover i {
  transform: translateX(4px);
}

.content-cta-box {
  margin-top: 2rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background-color: var(--brand-tint);
  padding: 1.5rem;
  text-align: center;
}

.content-cta-icon {
  font-size: 2rem;
  color: var(--brand-blue);
}

.content-cta-title {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
}

.content-cta-desc {
  margin-top: 0.25rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 28rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.footer-inner {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 3.5rem 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.footer-brand {
  max-width: 280px;
}

.footer-tagline {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-col-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.footer-col-list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--cta);
}

.footer-bottom {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col-list{
    list-style:none;
    padding:0;
    margin-top:1rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (min-width: 640px) {
  .hero-features {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  
  .hero-content {
    padding: 5rem 1.5rem;
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .calculator-image {
    height: 420px;
  }
  
  .calculator-card {
    display: block;
  }
  
  .cta-banner-inner {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .cta-banner-text {
    text-align: left;
  }
  
  .cta-banner-heading {
    font-size: 1.25rem;
  }
  
  .quote-card-title {
    font-size: 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .section-grid.two-col {
    grid-template-columns: 1.15fr 1fr;
    gap: 3.5rem;
  }
  
  .hero-content {
    grid-template-columns: 1.15fr 1fr;
    gap: 3.5rem;
  }
  
  .hero-form {
    padding-left: 1rem;
  }
  
  .steps-roofline {
    display: block;
  }
  
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
  
  .step-high {
    transform: translateY(-2.5rem);
  }
  
  .step-low {
    transform: translateY(2.5rem);
  }
  
  .desktop-nav {
    display: flex;
  }
  
  .desktop-only {
    display: inline-flex;
  }
  
  .mobile-toggle {
    display: none;
  }
  
  .mobile-nav {
    display: none !important;
  }
  
  .footer-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  
  .footer-brand {
    grid-column: span 1;
  }
}
/* ========================================
   BUTTON OUTLINE LIGHT (hero secondary)
   ======================================== */

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background-color: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* ========================================
   COST TABLE (new component)
   ======================================== */

.cost-table-wrap {
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  box-shadow: var(--shadow-card);
}

.overflow-x-auto {
  overflow-x: auto;
	width: 100%;
}

.cost-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  text-align: left;
}

.cost-table thead {
  background-color: var(--primary);
  color: #ffffff;
}

.cost-table thead th {
  padding: 1rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cost-table tbody tr {
  border-top: 1px solid var(--border);
}

.cost-table tbody td {
  padding: 1rem 1.25rem;
  color: var(--muted-foreground);
}

.cost-table tbody td.font-medium {
  font-weight: 500;
  color: var(--foreground);
}

.cost-table tbody td.font-bold {
  font-weight: 700;
  color: var(--primary);
}

/* ========================================
   DISCLAIMER BOX
   ======================================== */

.disclaimer-box {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  box-shadow: var(--shadow-soft);
  text-align: left;
}

.disclaimer-box i {
  margin-top: 0.125rem;
  font-size: 1rem;
  color: var(--cta);
  flex-shrink: 0;
}

/* ========================================
   BADGE TAGS (FAQ bottom)
   ======================================== */

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  box-shadow: var(--shadow-soft);
}

.badge-tag i {
  color: var(--cta);
  font-size: 0.875rem;
}

/* ========================================
   FLEX UTILITIES
   ======================================== */

.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.justify-center {
  justify-content: center;
}

.gap-3 {
  gap: 0.75rem;
}

.mt-8 {
  margin-top: 4rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mt-5 {
  margin-top: 1.25rem;
}

/* ========================================
   COST TABLE - HOMEPAGE (existing - DO NOT CHANGE)
   Uses: .cost-table, .cost-list, .cost-row
   ======================================== */

/* Homepage cost table stays exactly as is */


/* ========================================
   COST TABLE - COSTGUIDE PAGES (<table> version)
   Uses: .cost-table-wrap, .data-table
   ======================================== */

.cost-table-wrap {
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  box-shadow: var(--shadow-card);
  width: 100%;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  text-align: left;
}

.data-table thead {
  background-color: var(--primary);
  color: #ffffff;
}

.data-table thead th {
  padding: 1rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
  border: none;
  white-space: nowrap;
}

.data-table tbody tr {
  border-top: 1px solid var(--border);
}

.data-table tbody td {
  padding: 1rem 1.25rem;
  color: var(--muted-foreground);
  white-space: nowrap;
}

.data-table tbody td.font-medium {
  font-weight: 500;
  color: var(--foreground);
}

.data-table tbody td.font-bold {
  font-weight: 700;
  color: var(--primary);
}

/* ========================================
   DISCLAIMER BOX
   ======================================== */

.disclaimer-box {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  box-shadow: var(--shadow-soft);
  text-align: left;
  max-width: 100%;
}

.disclaimer-box i {
  margin-top: 0.125rem;
  font-size: 1rem;
  color: var(--cta);
  flex-shrink: 0;
}

.disclaimer-box div {
  flex: 1;
  line-height: 1.5;
}

/* Override text-center from parent on table elements */
.section-inner.narrow.text-center .cost-table-wrap,
.section-inner.narrow.text-center .disclaimer-box {
  text-align: left;
}

/* ========================================
   FEATURES GRID - 3 COLUMNS ON DESKTOP
   ======================================== */

.features-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.features-grid-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* =====================================================
DEFAULT PAGE
===================================================== */

.page-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr) 380px;
    gap:60px;
    align-items:start;
}

.page-content{
    min-width:0;
}

/*======================================================
PAGE SIDEBAR
======================================================*/

.page-sidebar{
    position:sticky;
    top:110px;
    display:flex;
    flex-direction:column;
    gap:28px;
}

/*======================================================
WHY CHOOSE US CARD
======================================================*/

.sidebar-trust{
background: #0C2340;
    color: #fff;
    border-radius: 0.375rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-eyebrow{
       color: #2d8a9e;
    margin-bottom: 0.5rem;
	display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-weight: 600;
}

.sidebar-title{
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.sidebar-checklist{
    list-style:none;
    padding:0;
    margin:0;
}

.sidebar-checklist li{
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.sidebar-checklist li + li{
    margin-top:1.6rem;
}

.sidebar-check-icon{
    background: #2d8a9e;
    color: #fff;
    margin-top: 0.125rem;
	display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    font-size: 0.625rem;
    font-weight: bold;
    flex-shrink: 0;
}

.sidebar-check-content strong{
    display:block;
	font-weight: 600;
    font-size: 0.875rem;
    color: #fff;
    margin-bottom:.35rem;
}

.sidebar-check-content span{
    display:block;
    color:rgba(255,255,255,.82);
    line-height:1.7;
    font-size:.96rem;
}

/*======================================================
WHAT HAPPENS NEXT
======================================================*/

.sidebar-steps{
    background:#fff;
    border:1px solid var(--border);
    border-radius:22px;
    padding:2rem;
    box-shadow:0 12px 28px rgba(16,24,40,.06);
}

.sidebar-steps .sidebar-eyebrow{
    color:#2d8a9e;
}

.sidebar-steps .sidebar-title{
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--lc-ink);
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.sidebar-step{
    display:flex;
    gap:1rem;
}

.sidebar-step + .sidebar-step{
    margin-top:1.75rem;
}

.sidebar-step-number{
    width:42px;
    height:42px;
    border-radius:50%;
    background:#e7fbf3;
    color:var(--primary);
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
    flex-shrink:0;
}

.sidebar-step-content strong{
    font-weight: 600;
    font-size: 0.875rem;
    color: #000;
}

.sidebar-step-content span{
    color:#1a2d42;
    display:block;
	font-size: 0.75rem;
    line-height: 1.5;
    margin-top: 0.125rem;
}

/*======================================================
RESPONSIVE
======================================================*/

@media(max-width:991px){

.page-sidebar{
    position:static;
}

.sidebar-title{
    font-size:1.8rem;
}

}

@media(max-width:576px){

.sidebar-trust,
.sidebar-steps{
    padding:1.5rem;
}

.sidebar-title{
    font-size:1.6rem;
}

.sidebar-check-content strong,
.sidebar-step-content strong{
    font-size:1.05rem;
}

}


/* ============================================
   ROOF CALCULATOR — ISOLATED STYLES
   ============================================ */

/* Section wrapper */
.rc-calc-section {
  position: relative;
  overflow: hidden;
}

/* Decorative blur backgrounds — constrained */
.rc-calc-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.rc-calc-blur {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.rc-calc-blur-1 {
  top: -8rem;
  left: -5rem;
  width: 24rem;
  height: 24rem;
  background: rgba(26, 74, 110, 0.06);
}

.rc-calc-blur-2 {
  top: 8rem;
  right: -5rem;
  width: 20rem;
  height: 20rem;
  background: rgba(45, 138, 158, 0.06);
}

/* Calculator Card */
.rc-calc-card {
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  background: var(--card);
  position: relative;
  z-index: 1;
}

/* Inputs Column */
.rc-calc-inputs {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .rc-calc-inputs {
    border-bottom: none;
    border-right: 1px solid var(--border);
  }
}

/* Form Groups */
.rc-calc-group {
  margin-bottom: 1.25rem;
}

.rc-calc-group:last-of-type {
  margin-bottom: 0;
}

/* Labels */
.rc-calc-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.rc-calc-label-wrap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.rc-calc-label-wrap .rc-calc-label {
  margin-bottom: 0;
}

.rc-calc-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-blue);
}

/* Select */
.rc-calc-select {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  color: var(--foreground);
  background-color: var(--background);
  border: 1px solid var(--input);
  border-radius: var(--radius);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236b7b8e' viewBox='0 0 16 16'%3E%3Cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.25rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.rc-calc-select:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 2px rgba(45, 138, 158, 0.2);
}

/* Range Slider */
.rc-calc-range {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--input);
  border-radius: 3px;
  outline: none;
  margin: 0.5rem 0;
}

.rc-calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-blue);
  cursor: pointer;
  border: 3px solid var(--background);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.rc-calc-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-blue);
  cursor: pointer;
  border: 3px solid var(--background);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.rc-calc-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

/* Button Groups */
.rc-calc-btn-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.rc-calc-btn-group-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 360px) {
  .rc-calc-btn-group-3 {
    grid-template-columns: 1fr;
  }
}

.rc-calc-btn {
  padding: 0.5rem 0.375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: center;
  border: 1px solid var(--input);
  border-radius: var(--radius);
  background: var(--background);
  color: var(--foreground);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rc-calc-btn:hover {
  border-color: var(--brand-blue);
}

.rc-calc-btn.active {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
}

.rc-calc-btn-finish.active {
  background: var(--cta);
  color: #fff;
  border-color: var(--cta);
}

/* Checkboxes */
.rc-calc-extras {
  padding-top: 0.5rem;
}

.rc-calc-check {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--foreground);
  margin-bottom: 0.625rem;
}

.rc-calc-check:last-child {
  margin-bottom: 0;
}

.rc-calc-check input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.rc-calc-check-box {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1.5px solid var(--input);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  background: var(--background);
  margin-top: 1px;
}

.rc-calc-check input:checked + .rc-calc-check-box {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
}

.rc-calc-check input:checked + .rc-calc-check-box::after {
  content: '';
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.rc-calc-check-text {
  line-height: 1.4;
}

.rc-calc-check-note {
  color: var(--muted-foreground);
  font-size: 0.8125rem;
}

/* Results Column */
.rc-calc-results {
  padding: 1.5rem;
  background: var(--brand-blue);
  color: #fff;
  display: flex;
  flex-direction: column;
}

.rc-calc-result-block {
  margin-top: 0.5rem;
}

.rc-calc-result-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.5rem;
}

.rc-calc-result-price {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  word-break: break-word;
}

.rc-calc-result-mid {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}

.rc-calc-result-mid span {
  font-weight: 600;
  color: #fff;
}

.rc-calc-divider {
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 1.25rem 0;
}

/* Details List */
.rc-calc-details {
  margin: 0;
  padding: 0;
}

.rc-calc-detail-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.rc-calc-detail-row:last-child {
  margin-bottom: 0;
}

.rc-calc-detail-row dt {
  color: rgba(255,255,255,0.7);
  font-weight: normal;
}

.rc-calc-detail-row dd {
  margin: 0;
  font-weight: 500;
  color: #fff;
}

/* CTA Button */
.rc-calc-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.875rem 1rem;
  margin-top: 1.25rem;
  background: var(--cta);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  white-space: normal;
  word-break: break-word;
}

.rc-calc-cta:hover {
  opacity: 0.9;
  color: #fff;
}

/* Disclaimer */
.rc-calc-disclaimer {
  margin: 0.75rem 0 0;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

/* Mobile overflow prevention */
@media (max-width: 767.98px) {
  .rc-calc-section .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .rc-calc-card {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
  }
  
  .rc-calc-inputs,
  .rc-calc-results {
    padding: 1.25rem;
  }
}


/*======================================================
Contact Page CSS
======================================================*/

.contact-card{
    display:flex;
    align-items:flex-start;
    padding:1.5rem;
    background:#fff;
    border:1px solid var(--border-color);
    border-radius:12px;
    transition:.3s ease;
}

.contact-card:hover{
    transform:translateY(-3px);
    box-shadow:0 12px 30px rgba(0,0,0,.08);
}



.contact-form-card{
    background:#fff;
    border:1px solid var(--border-color);
    border-radius:16px;
    padding:2rem;
    box-shadow:0 15px 40px rgba(0,0,0,.06);
}

.contact-form-card .wpcf7-form p{
    margin-bottom:1rem;
}

.contact-form-card input,
.contact-form-card textarea{
    width:100%;
    border:1px solid #dcdcdc;
    border-radius:10px;
    padding:.85rem 1rem;
    font-size:1rem;
}

.contact-form-card textarea{
    min-height:160px;
    resize:vertical;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus{
    outline:none;
    border-color:var(--color-primary);
    box-shadow:0 0 0 .2rem rgba(13,110,253,.15);
}

.contact-form-card .wpcf7-submit{
    width:100%;
}
/*=====================================================
Roof Types
=====================================================*/

.roof-types-section{
	padding-top:5rem!important;
	padding-bottom:5rem!important;
    background:#f8fafc;
}

.roof-type-card{
    position:relative;
    display:flex;
    flex-direction:column;
    height:100%;
    padding:24px;
    background:#fff;
    border:1px solid var(--border-color);
    border-radius:18px;
    overflow:hidden;
    transition:.3s ease;
    box-shadow:0 2px 10px rgba(15,23,42,.05);
}

.roof-type-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 40px rgba(15,23,42,.12);
}

.roof-type-bar{
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:4px;
    background:var(--cta-color);
}

.roof-type-icon{
    width:44px;
    height:44px;
    border-radius:12px;
    background:rgba(var(--bs-primary-rgb),.12);
    color:var(--cta-color);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:1.25rem;
    margin-bottom:1.25rem;
}

.roof-type-label{
    font-size:.72rem;
    font-weight:700;
    letter-spacing:.12em;
    text-transform:uppercase;
    color:var(--cta-color);
    margin-bottom:.5rem;
}

.roof-type-title{
    color:rgb(12 35 64 / 90%);
    font-size:1.25rem;
    font-weight:800;
    line-height:1.35;
    margin-bottom:.75rem;
}

.roof-type-desc{
    color:rgb(12 35 64 / 90%);
    font-size:.95rem;
    line-height:1.7;
    margin-bottom:1rem;
    flex:1;
}

.roof-type-link{
    display:inline-flex;
    align-items:center;
    gap:.4rem;
    font-weight:700;
    color:var(--cta-color);
}

.roof-type-link i{
    transition:.25s;
}

.roof-type-card:hover .roof-type-link i{
    transform:translateX(5px);
}

/* ========================================
   CONTENT ACCORDION
======================================== */

.content-accordion .accordion-item{
    border:1px solid var(--border);
    border-radius:6px;
    overflow:hidden;
    background:#fff;
    box-shadow:var(--shadow-soft);
    margin-bottom:1rem;
}

.content-accordion .accordion-button{
    background:#fff;
    color:var(--primary);
    font-family:var(--font-display);
    font-size:1.2rem;
    font-weight:700;
    padding:1.25rem 1.5rem;
    box-shadow:none;
}

.content-accordion .accordion-button:focus{
    box-shadow:none;
}

.content-accordion .accordion-button:not(.collapsed){
    background:#fff;
    color:var(--primary);
}

.content-accordion .accordion-button:hover{
    background:var(--muted);
}

.content-accordion .accordion-body{
    padding:1.5rem;
    border-top:1px solid var(--border);
}

.content-accordion .accordion-button::after{
    width:1rem;
    height:1rem;
    background-size:1rem;
    transition:transform .2s ease;
    opacity:.75;
}

.content-accordion .accordion-button:not(.collapsed)::after{
    transform:rotate(-180deg);
}

/* Only tables inside accordion content */
.accordion-body .cost-table-wrap {
    margin: 1.5rem 0;
    padding: 0;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.accordion-body .cost-table-wrap .overflow-x-auto {
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    overflow: visible;
}

.accordion-body .cost-table-wrap .data-table {
    margin: 0;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Only accordion content */
.accordion-body ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
}

.accordion-body li {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.accordion-body li:last-child {
    margin-bottom: 0;
}

.accordion-body li strong {
    color: var(--heading-color);
    font-weight: 700;
}

/* =====================================================
GET QUOTE PAGE RESPONSIVE
===================================================== */

@media (max-width: 991.98px) {

    .page-grid{
        grid-template-columns:1fr;
        gap:2rem;
    }

    .page-sidebar{
        position:static;
        top:auto;
        width:100%;
    }

    .page-content,
    .page-sidebar{
        width:100%;
        max-width:100%;
    }

    .quote-card,
    .sidebar-trust,
    .sidebar-steps{
        width:100%;
    }

}

@media (max-width: 767.98px){

    .section-padding{
        padding:3rem 0;
    }

    .hero-section .section-inner{
        padding:3rem 1rem;
    }

    .hero-title{
        font-size:2rem;
        line-height:1.2;
    }

    .hero-desc{
        font-size:.95rem;
    }

    .quote-card-header{
        padding:1.25rem;
    }

    .quote-form{
        padding:1.25rem;
    }

    .quote-card-title{
        font-size:1.35rem;
    }

    .sidebar-trust,
    .sidebar-steps{
        padding:1.5rem;
    }

    .sidebar-title{
        font-size:1.35rem;
        line-height:1.3;
    }

    .sidebar-checklist li,
    .sidebar-step{
        gap:.75rem;
    }

    .sidebar-step-number{
        width:38px;
        height:38px;
        font-size:.95rem;
    }

    .cta-banner-inner{
        text-align:center;
    }

    .cta-banner-text{
        flex-direction:column;
        gap:.75rem;
    }

}

@media (max-width: 575.98px){

    .section-inner{
        padding-left:15px;
        padding-right:15px;
    }

    .hero-title{
        font-size:1.75rem;
    }

    .hero-desc{
        font-size:.9rem;
    }

    .quote-form{
        padding:1rem;
    }

    .quote-card-header{
        padding:1rem;
    }

    .quote-card-title{
        font-size:1.2rem;
    }

    .form-input,
    .form-select,
    .btn-cta{
        height:48px;
        font-size:.95rem;
    }

    .sidebar-trust,
    .sidebar-steps{
        padding:1.25rem;
        border-radius:12px;
    }

    .sidebar-title{
        font-size:1.2rem;
    }

    .sidebar-check-content span,
    .sidebar-step-content span{
        font-size:.875rem;
        line-height:1.6;
    }

    .cta-banner-heading{
        font-size:1rem;
    }

}

/* ========================================
   FOOTER SOCIAL ICONS
   ======================================== */

.footer-social {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.5rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.375rem;
  background-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 1rem;
}

.footer-social-link:hover {
  background-color: var(--cta);
  color: #ffffff;
  transform: translateY(-2px);
}