:root {
  --ink: #17231e;
  --muted: #66736d;
  --cream: #f7f6f1;
  --paper: #fffefb;
  --sage: #dce8dd;
  --green: #315f4d;
  --green-dark: #1d3d31;
  --orange: #e97a45;
  --line: rgba(23, 35, 30, 0.12);
  --shadow: 0 20px 55px rgba(36, 63, 51, 0.1);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: 'DM Sans', sans-serif; line-height: 1.6; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(1160px, calc(100% - 3rem)); margin: 0 auto; }
section { padding: 6rem 0; }
section:nth-of-type(even) { background: var(--paper); }
h1, h2, h3 { margin: 0; font-family: 'Space Grotesk', sans-serif; line-height: 1.08; letter-spacing: 0; }
h1 { max-width: 680px; font-size: clamp(2.7rem, 6vw, 5.6rem); letter-spacing: -0.04em; }
h2 { margin-bottom: 1rem; font-size: clamp(2rem, 3.4vw, 3.35rem); letter-spacing: -0.035em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; color: var(--muted); }
ul { margin: 0; padding-left: 1.2rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1rem; color: var(--orange); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 24px; height: 2px; background: currentColor; }
.text-primary { color: var(--green); }
.text-center { text-align: center; }
.section-header { max-width: 700px; margin: 0 auto 2.75rem; }
.section-header h2 { margin-bottom: 0; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(36, 63, 51, .05); padding: 1.5rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: .8rem 1.35rem; border: 1px solid var(--green); border-radius: 999px; background: var(--green); color: #fff; text-decoration: none; font-weight: 700; cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); background: var(--green-dark); box-shadow: 0 12px 22px rgba(29, 61, 49, .18); }
.btn.secondary { background: transparent; color: var(--green); box-shadow: none; }
.btn.secondary:hover { background: var(--sage); }

header { position: sticky; top: 0; z-index: 30; background: rgba(247, 246, 241, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.top-banner { position: relative; height: 126px; overflow: hidden; background: var(--green-dark); color: #f4eee3; transition: height .35s ease, opacity .35s ease; }
header.is-scrolled .top-banner { height: 0; opacity: 0; }
.banner-slides { min-height: 126px; }
.banner-slide { position: absolute; inset: 0; display: flex; align-items: center; background-position: center; background-size: cover; opacity: 0; transform: scale(1.03); transition: opacity .7s ease, transform 5s ease; pointer-events: none; }
.banner-slide.is-active { opacity: 1; transform: scale(1); pointer-events: auto; }
.banner-content { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.35rem 0 1.65rem; font-size: .84rem; }
.banner-content > div { display: grid; gap: .25rem; }
.banner-label { color: #f3aa72; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.banner-content strong { max-width: 650px; color: #fff; font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.05rem, 2.3vw, 1.75rem); line-height: 1.15; }
.banner-link { flex: 0 0 auto; padding: .65rem .9rem; border: 1px solid rgba(255, 255, 255, .6); border-radius: 999px; color: #fff; font-weight: 700; text-decoration: none; transition: background .2s ease, color .2s ease; }
.banner-link:hover { background: #fff; color: var(--green-dark); }
.banner-dots { position: absolute; bottom: .7rem; left: 50%; display: flex; gap: .4rem; transform: translateX(-50%); }
.banner-dot { width: 24px; height: 4px; padding: 0; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .45); cursor: pointer; transition: width .2s ease, background .2s ease; }
.banner-dot.is-active { width: 38px; background: #f3aa72; }
nav.container { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 1rem; }
nav.container::before { content: 'RAYAIN.'; color: var(--green-dark); font-family: 'Space Grotesk', sans-serif; font-size: 1.25rem; font-weight: 700; letter-spacing: -.05em; }
nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem; list-style: none; padding: 0; }
nav a { display: inline-block; padding: .5rem .65rem; color: var(--muted); font-size: .86rem; font-weight: 600; text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--green); }

#hero { padding: 7rem 0 6rem; background: var(--cream); overflow: hidden; }
.hero-content { display: grid; grid-template-columns: 1.03fr .97fr; gap: 4rem; align-items: center; }
.hero-copy > p:not(.eyebrow) { max-width: 570px; margin-top: 1.5rem; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 1.7rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .65rem 1.1rem; padding: 0; list-style: none; color: var(--green-dark); font-size: .87rem; font-weight: 600; }
.hero-points li::before { content: '✓'; display: inline-block; margin-right: .4rem; color: var(--orange); }
.hero-media { position: relative; }
.media-card { position: relative; padding: .8rem; border-radius: 28px 28px 28px 0; background: var(--sage); box-shadow: var(--shadow); transform: rotate(1.5deg); }
.media-slot { display: flex; align-items: center; justify-content: center; min-height: 200px; border-radius: 20px; background-color: #b9cfc2; background-position: center; background-size: cover; color: transparent; font-size: 0; }
.large-slot { min-height: 460px; background-image: linear-gradient(180deg, transparent 55%, rgba(15, 35, 28, .25)), url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1000&q=85'); }
.floating-badge { position: absolute; right: -1.4rem; bottom: 1.5rem; padding: .85rem 1rem; border-radius: 12px; background: var(--orange); color: #fff; font-size: .8rem; font-weight: 700; box-shadow: 0 12px 24px rgba(180, 78, 37, .22); transform: rotate(-3deg); }
.mini-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-top: 1.1rem; }
.stat-card { padding: 1rem; border-top: 1px solid var(--green); }
.stat-card strong { display: block; color: var(--green); font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; }
.stat-card span { color: var(--muted); font-size: .8rem; }

.about-grid, .area-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.lead { max-width: 560px; font-size: 1.06rem; }
.check-list { display: grid; gap: .85rem; margin-top: 1.6rem; }
.check-item { display: flex; gap: .7rem; align-items: center; color: var(--ink); font-weight: 600; }
.icon-check { display: inline-flex; flex: 0 0 25px; width: 25px; height: 25px; align-items: center; justify-content: center; border-radius: 50%; background: var(--sage); color: var(--green); font-size: .82rem; font-weight: 700; }
.about-panel { padding: .8rem; }
.mini-media-slot { min-height: 260px; border-radius: 13px; background: linear-gradient(180deg, transparent 55%, rgba(15,35,28,.3)), url('https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=900&q=85') center/cover; color: transparent; font-size: 0; }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; padding: 1.2rem .5rem .4rem; }
.feature-list strong { display: block; margin-bottom: .25rem; color: var(--green); }
.feature-list p { margin: 0; font-size: .84rem; }

.product-grid, .services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.product-card { overflow: hidden; padding: .75rem; transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-card h3, .product-card p, .product-card ul { margin-left: .5rem; margin-right: .5rem; }
.product-card h3 { margin-top: 1.15rem; }
.product-card p { margin-top: .55rem; font-size: .88rem; }
.product-card ul { padding-left: 1.1rem; color: var(--green); font-size: .82rem; }
.small-slot { min-height: 205px; border-radius: 13px; }
.product-card:nth-child(1) .small-slot { background-image: url('https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=700&q=80'); }
.product-card:nth-child(2) .small-slot { background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=700&q=80'); }
.product-card:nth-child(3) .small-slot { background-image: url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=700&q=80'); }
.product-card:nth-child(4) .small-slot { background-image: url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=700&q=80'); }

.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.gallery-item { grid-column: span 4; margin: 0; }
.gallery-item:nth-child(1), .gallery-item:nth-child(4) { grid-column: span 6; }
.gallery-slot { min-height: 240px; border-radius: 14px; }
.gallery-item:nth-child(1) .gallery-slot { background-image: url('https://images.unsplash.com/photo-1540575467063-178a50c2df87?auto=format&fit=crop&w=1000&q=80'); }
.gallery-item:nth-child(2) .gallery-slot { background-image: url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=800&q=80'); }
.gallery-item:nth-child(3) .gallery-slot { background-image: url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=800&q=80'); }
.gallery-item:nth-child(4) .gallery-slot { background-image: url('https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1000&q=80'); }
.gallery-item:nth-child(5) .gallery-slot { background-image: url('https://images.unsplash.com/photo-1519167758481-83f550bb49b3?auto=format&fit=crop&w=800&q=80'); }
.gallery-item:nth-child(6) .gallery-slot { background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=800&q=80'); }
.gallery-item figcaption { margin-top: .7rem; color: var(--green); font-weight: 700; }

.service-item { display: block; padding: 1.4rem; border-top: 3px solid var(--orange); }
.service-item .icon { margin-bottom: 1.6rem; color: var(--orange); font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; font-weight: 700; }
.service-item p { margin: .5rem 0 0; font-size: .88rem; }
.pricing-grid, .testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.price-card { padding: 0; overflow: hidden; box-shadow: none; }
.price-product { display: flex; height: 100%; flex-direction: column; text-decoration: none; }
.price-product:focus-visible { outline-offset: -4px; }
.price-image { position: relative; overflow: hidden; background: var(--sage); border-bottom: 1px solid var(--line); }
.price-image img { width: 100%; height: auto; aspect-ratio: 6 / 5; object-fit: cover; }
.image-label { position: absolute; bottom: .75rem; left: .85rem; padding: .2rem .5rem; border-radius: 4px; background: var(--paper); color: var(--muted); font-size: .65rem; }
.price-info { display: grid; gap: .8rem; padding: 1.25rem 1.4rem; }
.price-info .price-tag { color: var(--green-dark); font-size: 1.15rem; }
.price-info .amount { font-size: clamp(1.6rem, 3vw, 2rem); line-height: 1.3; }
.price-product:hover .price-tag { color: var(--orange); }
.add-to-cart { color: var(--green); font-size: .85rem; font-weight: 700; }
.cart-launcher { position: fixed; right: 1rem; bottom: 1rem; z-index: 90; box-shadow: var(--shadow); width: auto; }
body { padding-bottom: 5rem; }
.cart-status { position: fixed; right: 1rem; bottom: 4.75rem; z-index: 90; max-width: min(350px, calc(100% - 2rem)); padding: .7rem 1rem; border-radius: 10px; background: var(--paper); color: var(--green-dark); box-shadow: var(--shadow); font-size: .85rem; pointer-events: none; }
.cart-status:empty { display: none; }
.cart-dialog { width: min(600px, calc(100% - 2rem)); max-height: 85dvh; overflow-y: auto; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); }
.cart-dialog::backdrop { background: rgba(15, 38, 29, .6); }
.cart-heading { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.cart-heading h2 { margin: 0; font-size: 1.6rem; }
.cart-heading .btn { width: auto; }
.cart-items { margin-bottom: 1rem; }
.cart-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cart-row label { display: grid; gap: .5rem; font-weight: 600; }
.cart-row input { width: 6rem; padding: .5rem; font: inherit; border: 1px solid var(--line); border-radius: 6px; }
.cart-remove { padding: .5rem; background: transparent; border: 0; color: #98402c; font: inherit; text-decoration: underline; cursor: pointer; }
.cart-note, .cart-storage, .selection-status { font-size: .85rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.contact-selection { display: grid; gap: .6rem; }
.contact-selection textarea { font-weight: 400; }
.contact-selection p { margin: 0; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0; font-size: .82rem; font-weight: 400; }
.form-feedback:empty { display: none; }
.form-feedback { padding: 1rem; border-radius: 10px; background: var(--cream); overflow-wrap: anywhere; }
.form-feedback p { margin: 0 0 .75rem; color: inherit; }
.form-feedback .form-note { margin: .75rem 0 0; }
.form-feedback.is-success { background: var(--sage); color: var(--green-dark); }
.form-feedback.is-error { background: #fceeee; color: #8d2929; }
.quantity-dialog { max-width: 480px; }
.quantity-form { display: grid; gap: .85rem; }
.quantity-form p, .quantity-form .cart-heading { margin: 0; }
.quantity-product { color: var(--green); font-weight: 700; }
.quantity-label { font-weight: 600; }
.quantity-form input { width: 100%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 9px; font: inherit; }
#quantity-error { color: #98402c; font-size: .85rem; }
#quantity-error:empty { display: none; }
.price-card.featured { background: var(--green); color: #fff; transform: translateY(-10px); }
.price-card.featured p, .price-card.featured li, .price-card.featured .price-tag { color: #e4eee5; }
.price-tag { color: var(--orange); font-weight: 700; }
.price-from, .price-unit { display: block; color: var(--muted); font-size: .85rem; }
.pricing-note { margin: 1.5rem 0 0; max-width: 850px; font-size: .9rem; }
.amount { color: var(--green); font-family: 'Space Grotesk', sans-serif; font-size: 2.1rem; font-weight: 700; }
.featured .amount { color: #fff; }
.price-card ul { flex: 1; color: var(--muted); }
.testimonial { margin: 0; border: 0; border-left: 3px solid var(--orange); }
.testimonial p { color: var(--ink); font-size: 1rem; }
.testimonial footer { color: var(--green); font-size: .85rem; font-weight: 700; }
.area-list ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; padding: 0; list-style: none; }
.area-list li { padding: .7rem; border-bottom: 1px solid var(--line); color: var(--green); font-weight: 600; }
.faq-wrap { max-width: 850px; }
.faq-list { display: grid; gap: .75rem; }
.faq-item { padding: 1.2rem 1.4rem; }
.faq-item summary { cursor: pointer; color: var(--green-dark); font-weight: 700; }
.faq-item p { margin: .7rem 0 0; }
.contact-info { background: var(--green); color: #fff; }
.contact-info h2, .contact-info p, .contact-info li { color: #fff; }
.contact-info .eyebrow { color: #f3aa72; }
.contact-info ul { display: grid; gap: .7rem; padding: 0; list-style: none; }
.contact-card { display: grid; gap: 1rem; }
.contact-card label { display: grid; gap: .4rem; color: var(--green-dark); font-size: .9rem; font-weight: 700; }
.contact-card input, .contact-card textarea { width: 100%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 9px; background: var(--cream); color: var(--ink); font: inherit; }
.contact-card textarea { min-height: 125px; resize: vertical; }
footer { padding: 1.5rem 0; background: var(--green-dark); color: #dfe9df; }
.footer-content { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-content p { margin: 0; color: inherit; font-size: .85rem; }
.footer-content nav { display: flex; gap: 1rem; }
.footer-content a { font-size: .85rem; text-decoration: none; }

@media (max-width: 980px) {
  .hero-content { grid-template-columns: 1fr .8fr; gap: 2rem; }
  .product-grid, .services { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .area-grid, .contact-grid { gap: 2rem; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 2rem, 560px); }
  section, #hero { padding: 4.5rem 0; }
  nav.container { align-items: flex-start; flex-direction: column; padding: .8rem 0; }
  nav ul { justify-content: flex-start; gap: 0 .25rem; }
  nav a { padding: .35rem .45rem; font-size: .76rem; }
  .hero-content, .about-grid, .area-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .large-slot { min-height: 310px; }
  .gallery-item, .gallery-item:nth-child(1), .gallery-item:nth-child(4) { grid-column: span 6; }
  .pricing-grid, .testimonials { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
}
@media (max-width: 480px) {
  .top-banner, .banner-slides { min-height: 145px; }
  header.is-scrolled .top-banner { min-height: 0; }
  .banner-content { align-items: flex-start; flex-direction: column; gap: .65rem; padding-top: 1.15rem; }
  .banner-link { padding: .45rem .75rem; font-size: .76rem; }
  .product-grid, .services, .feature-list { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item, .gallery-item:nth-child(1), .gallery-item:nth-child(4) { grid-column: auto; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .footer-content { align-items: flex-start; flex-direction: column; }
}
:focus-visible { outline: 3px solid rgba(233, 122, 69, .4); outline-offset: 3px; }

.inner-page { min-height: calc(100vh - 230px); padding: 6rem 0; }
.page-intro { max-width: 760px; margin-bottom: 2.5rem; }
.page-intro h1 { margin-bottom: 1rem; font-size: clamp(2.6rem, 6vw, 5rem); }
.page-intro p { max-width: 680px; font-size: 1.08rem; }
.page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.page-grid .card h3 { margin-bottom: .6rem; color: var(--green); }
.page-grid .card p { margin-bottom: 0; }
.page-visual { min-height: 330px; margin-bottom: 2.5rem; border-radius: var(--radius); background: linear-gradient(90deg, rgba(15, 38, 29, .2), rgba(15, 38, 29, .05)), url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1400&q=85') center/cover; }
.page-list { display: grid; gap: .75rem; padding-left: 1.2rem; color: var(--green-dark); }
.page-list li::marker { color: var(--orange); }
.inner-page .contact-grid { align-items: start; }
@media (max-width: 760px) {
  .inner-page { padding: 4.5rem 0; }
  .page-grid { grid-template-columns: 1fr; }
  .page-visual { min-height: 230px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .top-banner, .banner-slide, .banner-dot { transition: none; }
}
