/* ============================================================
   Rhino Roofing LLC — Morandi Tone
   ============================================================ */

:root {
  --morandi-stone: #7a7268;
  --morandi-stone-dark: #5e5850;
  --morandi-stone-light: #9a9288;
  --morandi-sage: #9aab9c;
  --morandi-sage-dark: #7d8f7f;
  --morandi-sage-light: #b5c4b6;
  --morandi-dusty: #b89b8e;
  --morandi-dusty-dark: #a0887a;
  --morandi-dusty-light: #d4bdb0;
  --morandi-blue: #94a3ab;
  --morandi-blue-dark: #7a8d96;
  --morandi-cream: #f2ede8;
  --morandi-linen: #e8e2db;
  --bg: #f0ebe5;
  --white: #faf8f5;
  --dark: #5c564f;
  --gray: #7a7268;
  --gray-light: #a39b92;
  --border: #d8d2cb;
  --font: "Segoe UI", "PingFang SC", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); font-size: 15px; color: var(--dark); background: var(--bg); line-height: 1.7; }

a { color: var(--morandi-stone-dark); text-decoration: none; }
a:hover { color: var(--morandi-dusty-dark); text-decoration: underline; }
.container { width: min(1140px, 92%); margin: 0 auto; }

.top-bar { background: var(--morandi-stone-dark); color: var(--morandi-cream); font-size: 13px; padding: 10px 0; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.top-bar a { color: var(--morandi-cream); font-weight: 500; }
.top-bar .phone { font-weight: 600; font-size: 15px; color: var(--morandi-dusty-light); }
.top-bar .phone:hover { color: #fff; text-decoration: none; }

.compliance-bar { background: var(--morandi-linen); border-bottom: 1px solid var(--border); padding: 11px 0; font-size: 12px; color: var(--gray); text-align: center; font-weight: 500; }

.site-header { background: var(--white); border-bottom: 1px solid var(--border); box-shadow: 0 2px 20px rgba(94,88,80,0.05); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 20px; flex-wrap: wrap; }

.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 52px; height: 52px; background: var(--morandi-linen); color: var(--morandi-stone-dark); display: grid; place-items: center; font-size: 26px; border-radius: 14px; border: 1px solid var(--border); }
.logo-name { font-size: 19px; font-weight: 700; color: var(--morandi-stone-dark); display: block; letter-spacing: 0.02em; line-height: 1.2; }
.logo-tag { font-size: 11px; color: var(--morandi-sage-dark); font-weight: 500; letter-spacing: 0.06em; }

.main-nav { display: flex; gap: 4px; }
.main-nav a { padding: 10px 16px; color: var(--dark); font-weight: 500; font-size: 14px; border-radius: 10px; }
.main-nav a:hover { background: var(--morandi-cream); color: var(--morandi-stone-dark); text-decoration: none; }

.header-right { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-wrap: wrap; }

.btn-call { background: var(--morandi-stone); color: var(--white); padding: 11px 18px; border-radius: 10px; font-weight: 600; font-size: 13px; border: none; cursor: pointer; white-space: nowrap; display: inline-block; text-decoration: none; }
.btn-call:hover { background: var(--morandi-stone-dark); color: var(--white); text-decoration: none; }

.btn-primary { background: var(--morandi-dusty); color: var(--white); padding: 11px 20px; border-radius: 10px; font-weight: 600; font-size: 14px; border: none; cursor: pointer; white-space: nowrap; display: inline-block; text-decoration: none; }
.btn-primary:hover { background: var(--morandi-dusty-dark); color: var(--white); text-decoration: none; }

.lang-switch { position: relative; }
.lang-switch-btn { display: flex; align-items: center; gap: 6px; background: var(--white); border: 1px solid var(--border); color: var(--morandi-stone-dark); font-weight: 600; font-size: 13px; padding: 8px 12px; cursor: pointer; border-radius: 10px; min-width: 72px; }
.lang-switch-btn:hover { background: var(--morandi-cream); }
.lang-dropdown { display: none; position: absolute; top: calc(100% + 4px); right: 0; background: var(--white); border: 1px solid var(--border); border-radius: 12px; min-width: 180px; box-shadow: 0 8px 28px rgba(94,88,80,0.1); overflow: hidden; z-index: 120; }
.lang-dropdown.open { display: block; }
.lang-dropdown button { display: block; width: 100%; text-align: left; padding: 12px 16px; border: none; background: var(--white); cursor: pointer; font-size: 13px; font-weight: 500; border-bottom: 1px solid var(--border); color: var(--dark); }
.lang-dropdown button:last-child { border-bottom: none; }
.lang-dropdown button:hover { background: var(--morandi-cream); }
.lang-dropdown button.active { background: var(--morandi-stone); color: var(--white); }
.lang-dropdown .lang-sub { display: block; font-size: 11px; font-weight: 400; opacity: 0.75; margin-top: 2px; }
.lang-dropdown button.active .lang-sub { color: rgba(255,255,255,0.85); }

.menu-toggle { display: none; background: var(--morandi-sage); color: var(--white); border: none; padding: 10px 14px; font-size: 18px; cursor: pointer; border-radius: 10px; }

.hero { background: linear-gradient(145deg, #8a9a9e 0%, var(--morandi-blue) 40%, var(--morandi-sage) 100%); color: var(--white); padding: 68px 0; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 340px; height: 340px; background: var(--morandi-dusty-light); opacity: 0.25; transform: rotate(12deg); border-radius: 24px; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; color: var(--morandi-cream); margin-bottom: 14px; opacity: 0.95; }
.hero h1 { font-size: clamp(1.85rem, 4.5vw, 2.55rem); font-weight: 700; line-height: 1.28; margin-bottom: 18px; letter-spacing: 0.01em; }
.hero-lead { font-size: 16px; opacity: 0.92; margin-bottom: 28px; max-width: 54ch; line-height: 1.75; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.hero-badge { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); padding: 8px 14px; border-radius: 20px; font-size: 12px; font-weight: 500; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.55); padding: 11px 22px; border-radius: 10px; font-weight: 600; font-size: 14px; text-decoration: none; display: inline-block; }
.btn-outline:hover { background: rgba(255,255,255,0.12); color: var(--white); text-decoration: none; border-color: rgba(255,255,255,0.8); }

.hero-card { background: var(--white); color: var(--dark); border-radius: 16px; padding: 28px; box-shadow: 0 12px 40px rgba(94,88,80,0.1); border-left: 4px solid var(--morandi-dusty); }
.hero-card h3 { color: var(--morandi-stone-dark); font-size: 16px; font-weight: 600; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--border); letter-spacing: 0.03em; }
.hero-card ul { list-style: none; }
.hero-card li { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; font-weight: 500; display: flex; gap: 12px; align-items: flex-start; }
.hero-card li:last-child { border-bottom: none; }
.hero-card .ico { font-size: 18px; flex-shrink: 0; opacity: 0.85; }

.trust-strip { background: var(--white); border-bottom: 1px solid var(--border); padding: 32px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.trust-item .ico { font-size: 30px; margin-bottom: 10px; opacity: 0.8; }
.trust-item h4 { font-size: 14px; font-weight: 600; color: var(--morandi-stone-dark); margin-bottom: 4px; }
.trust-item p { font-size: 12px; color: var(--gray-light); }

section { padding: 56px 0; }
section.alt { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head h2 { font-size: 28px; font-weight: 700; color: var(--morandi-stone-dark); margin-bottom: 12px; letter-spacing: 0.02em; }
.section-head p { color: var(--gray); font-size: 15px; }
.section-head .line { width: 48px; height: 2px; background: var(--morandi-dusty); margin: 14px auto 0; border-radius: 2px; }

.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 28px; display: flex; gap: 20px; align-items: flex-start; transition: box-shadow 0.25s, transform 0.25s; border-top: 3px solid var(--morandi-sage); }
section.alt .service-card { background: var(--bg); }
.service-card:hover { box-shadow: 0 10px 32px rgba(94,88,80,0.08); transform: translateY(-2px); }
.service-card .ico { font-size: 38px; flex-shrink: 0; opacity: 0.8; }
.service-card h3 { font-size: 17px; font-weight: 600; color: var(--morandi-stone-dark); margin-bottom: 8px; }
.service-card p { font-size: 14px; color: var(--gray); line-height: 1.65; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.about-text p { color: var(--gray); margin-bottom: 16px; font-size: 15px; }
.about-facts { background: var(--white); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.about-facts h3 { background: var(--morandi-stone); color: var(--white); padding: 14px 20px; font-size: 15px; font-weight: 600; letter-spacing: 0.03em; }
.about-facts dl { padding: 0; }
.about-facts dt { font-weight: 600; font-size: 11px; color: var(--gray-light); text-transform: uppercase; letter-spacing: 0.06em; padding: 14px 20px 4px; }
.about-facts dd { padding: 0 20px 14px; font-size: 14px; border-bottom: 1px solid var(--border); line-height: 1.55; color: var(--dark); }
.about-facts dd:last-child { border-bottom: none; }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-item { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 26px 18px; text-align: center; transition: border-color 0.25s, box-shadow 0.25s; }
.why-item:hover { border-color: var(--morandi-dusty-light); box-shadow: 0 6px 20px rgba(94,88,80,0.06); }
.why-item .ico { font-size: 34px; margin-bottom: 12px; opacity: 0.8; }
.why-item h4 { font-size: 14px; font-weight: 600; color: var(--morandi-stone-dark); margin-bottom: 6px; }
.why-item p { font-size: 12px; color: var(--gray); line-height: 1.55; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; }
.contact-info { background: var(--morandi-stone); color: var(--white); border-radius: 16px; padding: 32px; border-bottom: 3px solid var(--morandi-dusty); }
.contact-info h3 { font-size: 18px; font-weight: 600; margin-bottom: 22px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.2); }
.contact-info ul { list-style: none; margin-bottom: 24px; }
.contact-info li { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.12); font-size: 14px; line-height: 1.55; }
.contact-info li:last-child { border-bottom: none; }
.contact-info a { color: var(--morandi-dusty-light); font-weight: 600; font-size: 16px; }
.contact-info .label { display: block; font-size: 11px; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; font-weight: 500; }
.contact-call-btn { display: block; text-align: center; background: var(--morandi-dusty); color: var(--white); padding: 14px; border-radius: 12px; font-weight: 600; font-size: 15px; text-decoration: none; }
.contact-call-btn:hover { background: var(--morandi-dusty-dark); color: var(--white); text-decoration: none; }

.contact-form { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 32px; border-top: 3px solid var(--morandi-sage); }
.contact-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--dark); letter-spacing: 0.02em; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; font-family: inherit; font-size: 14px; margin-bottom: 16px; outline: none; background: var(--bg); color: var(--dark); }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--morandi-sage); background: var(--white); }
.contact-form button { width: 100%; background: var(--morandi-sage-dark); color: var(--white); border: none; padding: 15px; font-weight: 600; font-size: 15px; border-radius: 12px; cursor: pointer; }
.contact-form button:hover { background: var(--morandi-stone); }
.form-msg { margin-top: 10px; font-size: 13px; font-weight: 600; min-height: 1.2em; }

.site-footer { background: var(--morandi-stone-dark); color: var(--gray-light); font-size: 13px; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding: 44px 0; }
.footer-col h4 { color: var(--morandi-cream); font-size: 14px; font-weight: 600; margin-bottom: 16px; letter-spacing: 0.03em; }
.footer-col p { font-size: 13px; line-height: 1.65; margin-bottom: 10px; }
.footer-col a { display: block; color: var(--morandi-stone-light); padding: 5px 0; font-size: 13px; }
.footer-col a:hover { color: var(--morandi-dusty-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0; display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 16px; font-size: 12px; }
.footer-disclaimer { max-width: 720px; color: var(--morandi-stone-light); line-height: 1.6; font-size: 11px; opacity: 0.85; }

@media (max-width: 900px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid, .trust-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .btn-call { display: none; }
  .main-nav.mobile-open { display: flex; flex-direction: column; width: 100%; order: 10; background: var(--morandi-cream); padding: 12px; border-radius: 12px; }
}
@media (max-width: 560px) {
  .why-grid, .trust-grid, .footer-main { grid-template-columns: 1fr; }
}
