/* ============================================================
   CLADDAGH FLOORING AND MORE, LLC
   Fonts: Lora (display/serif) + Inter (body) + Caveat (accent)
   Palette: Oak brown, emerald green, cream, charcoal, gold
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Core palette */
  --brown-deep: #3D2B1F;
  --brown-rich: #5C3D2E;
  --brown-warm: #7A5C3E;
  --brown-light: #A0855E;

  --green-deep: #0F3D24;
  --green-primary: #1B5E3B;
  --green-light: #2A7E52;
  --green-tint: rgba(27, 94, 59, 0.08);

  --gold: #C49A3C;
  --gold-light: #D4B05C;
  --gold-tint: rgba(196, 154, 60, 0.12);

  --cream: #F5F0E8;
  --cream-light: #FAF7F2;
  --cream-warm: #EDE5D8;
  --white: #FFFFFF;

  --charcoal: #2C2C2C;
  --charcoal-light: #4A4A4A;
  --gray: #6B6B6B;
  --gray-light: #999999;
  --gray-border: #E0D8CC;

  /* Semantic */
  --text-primary: #2C2C2C;
  --text-secondary: #5A5A5A;
  --text-muted: #888888;
  --bg-body: var(--cream-light);
  --bg-section-alt: var(--cream);

  /* Spacing */
  --section-padding: 100px;
  --container-max: 1200px;
  --container-padding: 24px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.12);

  /* Nav */
  --nav-height: 72px;
  --nav-height-scrolled: 64px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

:focus-visible {
  outline: 2px solid var(--green-primary);
  outline-offset: 3px;
}

::selection {
  background: var(--green-tint);
  color: var(--green-deep);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', 'Georgia', serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--charcoal);
}

.section-tag {
  display: inline-block;
  font-family: 'Caveat', cursive;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--green-primary);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-title em {
  font-style: italic;
  color: var(--green-primary);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--green-primary);
  color: var(--white);
  border-color: var(--green-primary);
}

.btn--primary:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(27, 94, 59, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--gray-border);
}

.btn--outline:hover {
  border-color: var(--green-primary);
  color: var(--green-primary);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--white);
  color: var(--green-deep);
  border-color: var(--white);
}

.btn--white:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255,255,255,0.3);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn--outline-white:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

.btn__loading {
  display: none;
}

.btn.is-loading .btn__text {
  display: none;
}

.btn.is-loading .btn__loading {
  display: flex;
}

/* ---------- Container ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-base);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  height: var(--nav-height-scrolled);
  background: rgba(250, 247, 242, 0.95);
  border-bottom-color: var(--gray-border);
  box-shadow: var(--shadow-sm);
}

.nav__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--brown-deep);
  z-index: 1001;
}

.nav__logo-icon {
  color: var(--green-primary);
  flex-shrink: 0;
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav__logo-name {
  font-family: 'Lora', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brown-deep);
  letter-spacing: -0.02em;
}

.nav__logo-sub {
  font-family: 'Caveat', cursive;
  font-size: 0.85rem;
  color: var(--green-primary);
  font-weight: 500;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-primary);
  transition: width var(--transition-base);
}

.nav__link:hover {
  color: var(--green-primary);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link--cta {
  padding: 10px 20px;
  background: var(--green-primary);
  color: var(--white) !important;
  border-radius: var(--radius-md);
  font-weight: 600;
}

.nav__link--cta::after {
  display: none;
}

.nav__link--cta:hover {
  background: var(--green-deep);
  transform: translateY(-1px);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.nav__hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.nav__hamburger.is-active .nav__hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger.is-active .nav__hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.is-active .nav__hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--cream-light);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.nav__mobile.is-open {
  opacity: 1;
  pointer-events: all;
}

.nav__mobile-link {
  font-family: 'Lora', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--charcoal);
  transition: color var(--transition-fast);
}

.nav__mobile-link:hover {
  color: var(--green-primary);
}

.nav__mobile-link--cta {
  margin-top: 12px;
  padding: 14px 32px;
  background: var(--green-primary);
  color: var(--white);
  border-radius: var(--radius-md);
}

.nav__mobile-link--cta:hover {
  color: var(--white);
  background: var(--green-deep);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-height) + 40px) 0 0;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__grain {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    var(--cream-light) 0%,
    var(--cream) 30%,
    var(--cream-warm) 60%,
    var(--cream-light) 100%
  );
}

/* Subtle wood grain texture via repeating gradient */
.hero__grain::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 80px,
    rgba(122, 92, 62, 0.03) 80px,
    rgba(122, 92, 62, 0.03) 82px
  );
}

.hero__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--cream-light), transparent);
}

.hero__container {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__content {
  max-width: 560px;
}

.hero__badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--green-tint);
  color: var(--green-primary);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 24px;
  border: 1px solid rgba(27, 94, 59, 0.15);
}

.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  color: var(--brown-deep);
}

.hero__title em {
  font-style: italic;
  color: var(--green-primary);
}

.hero__description {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__svg {
  width: 100%;
  max-width: 420px;
  filter: drop-shadow(0 8px 32px rgba(61, 43, 31, 0.15));
}

.hero__claddagh-float {
  animation: gentleFloat 4s ease-in-out infinite;
}

/* Stats Bar */
.hero__stats {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 60px auto 0;
  padding: 0 var(--container-padding);
  display: flex;
  justify-content: center;
  gap: 48px;
  padding-bottom: 60px;
}

.hero__stat {
  text-align: center;
}

.hero__stat-number {
  font-family: 'Lora', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green-primary);
  line-height: 1;
}

.hero__stat-plus,
.hero__stat-percent {
  font-family: 'Lora', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
}

.hero__stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

.hero__stat-divider {
  width: 1px;
  background: var(--gray-border);
  align-self: stretch;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.about__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.about__header {
  text-align: center;
  margin-bottom: 60px;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about__image {
  position: relative;
}

.about__image-placeholder {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream);
  aspect-ratio: 4/3;
}

.about__image-svg {
  width: 100%;
  height: 100%;
}

.about__image-accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 120px;
  height: 120px;
  border: 3px solid var(--green-primary);
  border-radius: var(--radius-lg);
  opacity: 0.2;
  z-index: -1;
}

.about__quote {
  font-family: 'Lora', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--brown-rich);
  line-height: 1.7;
  padding-left: 20px;
  border-left: 3px solid var(--green-primary);
  margin-bottom: 28px;
}

.about__text {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.75;
}

.about__values {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-border);
}

.about__value {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green-primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.about__value svg {
  color: var(--gold);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: var(--section-padding) 0;
  background: var(--bg-section-alt);
}

.services__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.services__header {
  text-align: center;
  margin-bottom: 60px;
}

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

/* Service Card */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  border: 1px solid var(--gray-border);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(27, 94, 59, 0.2);
}

.service-card__image {
  height: 160px;
  position: relative;
}

.service-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.06));
}

.service-card__icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.9);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  color: var(--green-primary);
  backdrop-filter: blur(4px);
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
}

.service-card:hover .service-card__icon {
  background: var(--green-primary);
  color: var(--white);
}

/* Fix icon positioning within card */
.service-card {
  position: relative;
}

.service-card__title {
  font-size: 1.15rem;
  margin: 20px 24px 8px;
  color: var(--brown-deep);
}

.service-card__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0 24px 16px;
  line-height: 1.65;
}

.service-card__features {
  list-style: none;
  margin: 0 24px 20px;
  padding: 0;
}

.service-card__features li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
}

.service-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  background: var(--green-primary);
  border-radius: 50%;
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: auto 24px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-primary);
  transition: all var(--transition-fast);
}

.service-card__cta:hover {
  gap: 10px;
  color: var(--green-deep);
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.gallery__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.gallery__header {
  text-align: center;
  margin-bottom: 60px;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}

.gallery__item--tall {
  grid-row: span 2;
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__image {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition-base);
}

.gallery__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery__image:hover::after {
  opacity: 1;
}

.gallery__image:hover {
  transform: scale(1.02);
}

.gallery__label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition-base);
}

.gallery__image:hover .gallery__label {
  opacity: 1;
  transform: translateY(0);
}

.gallery__label-type {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.gallery__label-room {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
}

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  padding: var(--section-padding) 0;
  background: var(--bg-section-alt);
}

.process__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.process__header {
  text-align: center;
  margin-bottom: 60px;
}

.process__timeline {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.process__line {
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-border);
}

.process__step {
  position: relative;
  display: flex;
  gap: 28px;
  padding-bottom: 48px;
}

.process__step:last-child {
  padding-bottom: 0;
}

.process__step-number {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--green-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-primary);
  position: relative;
  z-index: 2;
}

.process__step:hover .process__step-number {
  background: var(--green-primary);
  color: var(--white);
  transition: all var(--transition-base);
}

.process__step-content {
  padding-top: 12px;
}

.process__step-title {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--brown-deep);
}

.process__step-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.why__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.why__header {
  text-align: center;
  margin-bottom: 60px;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.why__card {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  background: var(--cream-light);
  border: 1px solid var(--gray-border);
  transition: all var(--transition-base);
}

.why__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(27, 94, 59, 0.15);
}

.why__card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--green-tint);
  color: var(--green-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: all var(--transition-base);
}

.why__card:hover .why__card-icon {
  background: var(--green-primary);
  color: var(--white);
}

.why__card-title {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--brown-deep);
}

.why__card-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Service Areas */
.why__areas {
  text-align: center;
  padding-top: 48px;
  border-top: 1px solid var(--gray-border);
}

.why__areas-title {
  font-family: 'Caveat', cursive;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--green-primary);
  margin-bottom: 20px;
}

.why__areas-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.area-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--cream);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 100px;
  border: 1px solid var(--gray-border);
  transition: all var(--transition-fast);
  cursor: default;
}

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

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: var(--section-padding) 0;
  background: var(--bg-section-alt);
}

.testimonials__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.testimonials__header {
  text-align: center;
  margin-bottom: 60px;
}

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

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-border);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-card--featured {
  background: var(--brown-deep);
  border-color: var(--brown-deep);
  color: var(--cream);
}

.testimonial-card--featured .testimonial-card__text {
  color: rgba(245, 240, 232, 0.85);
}

.testimonial-card--featured .testimonial-card__name {
  color: var(--cream);
}

.testimonial-card--featured .testimonial-card__location {
  color: rgba(245, 240, 232, 0.5);
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.testimonial-card__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  flex: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-card__name {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--charcoal);
}

.testimonial-card__location {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-primary) 50%, #1a7a45 100%);
}

.cta-banner__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  /* Celtic cross-hatch pattern */
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255,255,255,0.03) 20px, rgba(255,255,255,0.03) 22px),
    repeating-linear-gradient(-45deg, transparent, transparent 20px, rgba(255,255,255,0.03) 20px, rgba(255,255,255,0.03) 22px);
}

.cta-banner__container {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  text-align: center;
}

.cta-banner__claddagh {
  margin-bottom: 16px;
}

.cta-banner__title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner__text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

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

/* ============================================================
   ESTIMATE / CONTACT
   ============================================================ */
.estimate {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.estimate__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.estimate__header {
  text-align: center;
  margin-bottom: 60px;
}

.estimate__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.estimate__info-card {
  background: var(--cream-light);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.estimate__info-title {
  font-size: 1.3rem;
  margin-bottom: 24px;
  color: var(--brown-deep);
}

.estimate__info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.estimate__info-item svg {
  color: var(--green-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.estimate__info-item strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 2px;
}

.estimate__info-item span,
.estimate__info-item a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.estimate__info-item a:hover {
  color: var(--green-primary);
}

.estimate__map {
  margin-top: 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.estimate__map-placeholder {
  height: 160px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-warm) 100%);
  border: 1px dashed var(--gray-border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--brown-light);
}

.estimate__map-placeholder span {
  font-family: 'Caveat', cursive;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Form */
.estimate__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

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

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

.form-label span {
  color: var(--green-primary);
}

.form-input {
  padding: 12px 16px;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--cream-light);
  transition: all var(--transition-fast);
  -webkit-appearance: none;
}

.form-input:focus {
  outline: none;
  border-color: var(--green-primary);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--green-tint);
}

.form-input::placeholder {
  color: var(--gray-light);
}

.form-input.is-error {
  border-color: #C0392B;
  background: #FDF2F2;
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B6B6B' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

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

.form-error {
  font-size: 0.8rem;
  color: #C0392B;
  min-height: 1.2em;
}

/* Success State */
.estimate__success {
  text-align: center;
  padding: 60px 32px;
  background: var(--cream-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-border);
}

.estimate__success-icon {
  color: var(--green-primary);
  margin-bottom: 16px;
}

.estimate__success-title {
  font-size: 1.5rem;
  color: var(--green-primary);
  margin-bottom: 12px;
}

.estimate__success-text {
  color: var(--text-secondary);
  max-width: 400px;
  margin: 0 auto;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--brown-deep);
  color: var(--cream);
  padding: 64px 0 0;
}

.footer__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(245, 240, 232, 0.1);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--cream);
}

.footer__logo-icon {
  color: var(--gold);
}

.footer__logo-name {
  font-family: 'Lora', serif;
  font-size: 1.2rem;
  font-weight: 700;
  display: block;
}

.footer__logo-sub {
  font-family: 'Caveat', cursive;
  font-size: 0.85rem;
  color: var(--gold);
  display: block;
}

.footer__tagline {
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.6);
  line-height: 1.7;
}

.footer__heading {
  font-family: 'Lora', serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--cream);
}

.footer__link {
  display: block;
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.6);
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--gold);
}

.footer__address {
  font-style: normal;
}

.footer__address p {
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.6);
  margin-bottom: 12px;
  line-height: 1.6;
}

.footer__address a {
  color: rgba(245, 240, 232, 0.6);
  transition: color var(--transition-fast);
}

.footer__address a:hover {
  color: var(--gold);
}

.footer__bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copyright {
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.4);
}

.footer__legal {
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.3);
}

.footer__legal-links {
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__legal-links a {
  color: rgba(245, 240, 232, 0.4);
  transition: color var(--transition-fast);
}

.footer__legal-links a:hover {
  color: var(--gold);
}

.footer__legal-links span {
  color: rgba(245, 240, 232, 0.2);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--green-deep);
  transform: translateY(-2px);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Reveal */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

/* Tablet: 640px - 1024px */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }

  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__mobile {
    display: flex;
  }

  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero__content {
    max-width: 600px;
    margin: 0 auto;
  }

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

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    max-width: 360px;
    margin: 0 auto;
  }

  .hero__stats {
    gap: 32px;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__image {
    max-width: 480px;
    margin: 0 auto;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__grid {
    grid-auto-rows: 180px;
  }

  .why__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .estimate__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer__brand {
    grid-column: span 2;
  }
}

/* Mobile: < 640px */
@media (max-width: 640px) {
  :root {
    --section-padding: 64px;
    --container-padding: 20px;
  }

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

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 32px);
    padding-bottom: 0;
  }

  .hero__title {
    font-size: 2.2rem;
  }

  .hero__badge {
    font-size: 0.8rem;
  }

  .hero__description {
    font-size: 1rem;
  }

  .hero__visual {
    max-width: 280px;
  }

  .hero__stats {
    gap: 20px;
    margin-top: 40px;
    padding-bottom: 40px;
  }

  .hero__stat-number {
    font-size: 2rem;
  }

  .hero__stat-label {
    font-size: 0.75rem;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .about__values {
    gap: 20px;
  }

  .about__value {
    font-size: 0.85rem;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
  }

  .gallery__item--tall {
    grid-row: span 1;
  }

  .gallery__item--wide {
    grid-column: span 2;
  }

  .process__step-number {
    width: 52px;
    height: 52px;
    font-size: 0.95rem;
  }

  .process__line {
    left: 26px;
  }

  .process__step {
    gap: 20px;
  }

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

  .why__card {
    padding: 24px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__brand {
    grid-column: span 1;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .cta-banner__actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-banner__actions .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .fade-up {
    opacity: 1;
    transform: none;
  }

  .hero__claddagh-float {
    animation: none;
  }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .nav,
  .nav__mobile,
  .back-to-top,
  .cta-banner,
  .hero__visual,
  .hero__actions,
  .btn--primary,
  .nav__link--cta {
    display: none !important;
  }

  body {
    background: white;
    color: black;
    font-size: 12pt;
  }

  .hero {
    min-height: auto;
    padding: 20px 0;
  }

  .footer {
    background: white;
    color: black;
    border-top: 1px solid #ccc;
  }
}
