/* RAFTECH.ORG Safety Guide, Edition 2.0.
   All new selectors are prefixed sg- to leave global navigation, footer,
   contact forms, security hooks, and site-shell styles untouched. */

.sg-hero {
  overflow: hidden;
  padding: clamp(3.4rem, 6vw, 6rem) 0 4rem;
  background: linear-gradient(112deg, #faf8f2 0%, #f7f8f2 54%, #e5f0ed 100%);
}
.sg-hero-grid, .sg-request-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.sg-eyebrow {
  display: inline-block;
  margin-bottom: 1.1rem;
  color: #235c60;
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.sg-hero h1 {
  margin: 0 0 1.4rem;
  max-width: 670px;
  color: #173e53;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.55rem, 4vw, 4.25rem);
  line-height: 1.13;
  letter-spacing: -.025em;
}
.sg-hero h1 em {
  display: block;
  color: #345678;
  font-weight: 400;
}
.sg-lead {
  max-width: 640px;
  color: #263f4e;
  font-size: clamp(1.08rem, 1.45vw, 1.32rem);
  line-height: 1.6;
  margin: 0 0 1.5rem;
}
.sg-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem;
}
.sg-benefits li {
  position: relative;
  padding-left: 2.1rem;
  margin: .75rem 0;
  color: #183f51;
  font-weight: 650;
  line-height: 1.45;
}
.sg-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: .08rem;
  display: grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  color: #15524d;
  background: #d5e9e3;
  font-size: .9rem;
}
.sg-main-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: .8rem 1.6rem;
  border-radius: 99px;
  background: #345678;
  box-shadow: 0 8px 17px #153d5433;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
}
.sg-main-cta:hover { background: #214563; color: #fff; }
.sg-main-cta:focus-visible {
  outline: 4px solid #b77d39;
  outline-offset: 4px;
}
.sg-delivery-note {
  display: block;
  max-width: 590px;
  margin-top: .9rem;
  color: #435b67;
  font-size: .89rem;
  line-height: 1.5;
}
.sg-visual {
  position: relative;
  min-height: 570px;
  isolation: isolate;
}
.sg-visual::before {
  content: '';
  position: absolute;
  inset: 4% 0 4% 4%;
  border-radius: 48%;
  background: #d2e6e0;
  z-index: -1;
}
.sg-visual img {
  display: block;
  position: absolute;
  height: auto;
  border: 8px solid #fff;
  border-radius: 5px;
  box-shadow: 8px 16px 23px #1b45503d;
  background: #fff;
}
.sg-cover { width: 55%; left: 3%; top: 5%; z-index: 3; transform: rotate(-5deg); }
.sg-bathroom { width: 48%; right: 1%; top: 12%; z-index: 2; transform: rotate(7deg); }
.sg-checklist { width: 39%; right: 11%; bottom: 0; z-index: 1; transform: rotate(3deg); }
.sg-quick-facts { background: #173e53; color: #fff; }
.sg-quick-facts .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  font-weight: 750;
}
.sg-request { padding: clamp(3.5rem, 6vw, 5.5rem) 0; background: #fff; }
.sg-request-grid { align-items: start; }
.sg-request-intro h2, .sg-section h2, .sg-gallery h2 {
  color: #173e53;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.19;
  margin: 0 0 1.1rem;
}
.sg-request-intro p { max-width: 550px; font-size: 1.08rem; line-height: 1.65; }
.sg-request-card {
  position: relative;
  border: 2px solid #d6e3df;
  background: #fff;
  border-radius: 22px;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  box-shadow: 0 16px 35px #1d485528;
}
.sg-request-card h3 { color: #173e53; font-size: 1.4rem; margin-bottom: .6rem; }
.sg-request-card .form-standard { position: relative; }
.sg-request-card input:focus-visible,
.sg-request-card select:focus-visible,
.sg-request-card textarea:focus-visible,
.sg-request-card button:focus-visible { outline: 3px solid #b77d39; outline-offset: 3px; }
.sg-section { padding: clamp(3.5rem, 6vw, 5.5rem) 0; background: #f9f8f4; }
.sg-section-intro { max-width: 760px; margin-bottom: 2.5rem; }
.sg-section-intro p { font-size: 1.13rem; line-height: 1.6; }
.sg-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; }
.sg-feature {
  border: 1px solid #d7e3df;
  border-radius: 17px;
  padding: 1.7rem;
  background: #fff;
  box-shadow: 0 8px 19px #1b485014;
}
.sg-feature-count {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 12px;
  color: #225e5b;
  background: #dfeee8;
  font-weight: 850;
  margin-bottom: 1.1rem;
}
.sg-feature h3 { color: #173e53; font-size: 1.33rem; margin-bottom: .65rem; }
.sg-feature p { line-height: 1.6; margin: 0; }
.sg-gallery { padding: clamp(3.5rem, 6vw, 5.5rem) 0; background: #e9f3ef; }
.sg-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.2rem); align-items: start; }
.sg-gallery figure { margin: 0; }
.sg-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border: 7px solid white;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 24px #183f4b3a;
}
.sg-gallery figcaption { padding-top: 1rem; color: #173e53; font-weight: 750; text-align: center; }
.sg-safe-note { margin-top: 2.5rem; padding: 1.5rem 1.8rem; border-radius: 14px; background: #e9f2f0; color: #214551; }
.sg-safe-note strong { color: #173e53; }
.sg-audience { padding: clamp(3.5rem, 6vw, 5rem) 0; background: #fff; }
.sg-audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.sg-audience h2 { color: #173e53; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2rem, 3vw, 2.6rem); }
.sg-audience li { margin-bottom: .7rem; }
.sg-disclaimer { border-left: 5px solid #bb874b; padding: .8rem 1.1rem; background: #f8f4ea; line-height: 1.6; }
.sg-cta-section { padding: 3.5rem 0; background: #f1f5f2; }

@media (max-width: 900px) {
  .sg-hero-grid, .sg-request-grid { grid-template-columns: 1fr; }
  .sg-visual { min-height: 560px; width: min(600px, 100%); margin-inline: auto; }
  .sg-feature-grid { grid-template-columns: 1fr; }
  .sg-audience-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 610px) {
  .sg-hero { padding-top: 3rem; }
  .sg-hero h1 { font-size: clamp(2.35rem, 10vw, 3rem); }
  .sg-visual { min-height: 405px; }
  .sg-gallery-grid { grid-template-columns: 1fr; max-width: 370px; margin-inline: auto; gap: 2rem; }
  .sg-quick-facts .container { display: grid; gap: .5rem; }
  .sg-request-card { padding: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .sg-hero { scroll-behavior: auto; }
}
