/*
 * Saundaryam Core: widget styles (works with the Saundaryam theme).
 */

:root {
  --pink: #d02a7c;
  --pink2: #e0489b;
  --magenta: #d02a7c;
  --purple: #8a3a9e;
  --indigo: #4a3a9c;
  --teal: #1d6a85;
  --teal2: #1fa3a8;
  --navy: #2b2260;
  --rust: #b84a4a;
  --bg: #fbf4fa;
  --bg-soft: #f8ecf7;
  --ink: #2b2260;
  --muted: #6b6577;
  --line: #ecdcf0;
  --white: #ffffff;
  --grad: linear-gradient(90deg, #d02a7c 0%, #8a3a9e 50%, #4a3a9c 100%);
  --grad-btn: linear-gradient(135deg, #e0489b 0%, #a144b8 55%, #5b3aa8 100%);
  --grad-peacock: linear-gradient(135deg, #2b2260, #1d6a85);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(74, 58, 156, 0.12);
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.container { width: min(1180px, 92%); margin-inline: auto; }
.section { padding: 80px 0; }
.section--soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); }
.eyebrow {
  display: inline-block; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--rust); font-weight: 500; margin-bottom: 10px;
}
.gradient-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.divider { width: 70px; height: 3px; background: var(--grad); border-radius: 3px; margin: 14px auto 0; }


/* Buttons */
.btn { display: inline-block; padding: 13px 30px; border-radius: 999px; border: 0; cursor: pointer; background: var(--grad-btn); color: #fff !important; font-family: var(--font-body); font-weight: 500; font-size: .95rem; letter-spacing: .03em; box-shadow: 0 8px 20px -8px rgba(212, 61, 147, .6); transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(212, 61, 147, .7); color: #fff !important; }
.btn--ghost { background: transparent; color: var(--purple) !important; border: 1.5px solid var(--purple); box-shadow: none; }
.btn--ghost:hover { background: var(--purple); color: #fff !important; }
.btn--light { background: #fff; color: var(--purple) !important; box-shadow: none; }
.btn--outline-light { background: transparent; color: #fff !important; border: 1.5px solid #fff; box-shadow: none; }
.btn--outline-light:hover { background: #fff; color: var(--purple) !important; }
/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff; padding: 110px 0 120px;
  background:
    radial-gradient(circle at 85% 20%, rgba(212, 38, 126, .55), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(30, 127, 140, .6), transparent 50%),
    linear-gradient(135deg, #1b2a5e 0%, #4b3a9a 55%, #6c3fa3 100%);
}
.hero::before, .hero::after {
  content: ""; position: absolute; border: 1px solid rgba(255, 255, 255, .15);
  transform: rotate(45deg); border-radius: 18px;
}
.hero::before { width: 380px; height: 380px; right: -80px; top: 40px; }
.hero::after { width: 240px; height: 240px; right: 60px; top: 110px; border-color: rgba(255, 255, 255, .25); }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.hero h1 { color: #fff; }
.hero p { font-size: 1.1rem; color: #e9e3f5; max-width: 520px; }
.hero .eyebrow { color: #ffc2de; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-gem { display: flex; justify-content: center; }
.hero-gem svg { width: min(340px, 80%); filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .35)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* Trust strip */
.trust { margin-top: -50px; position: relative; z-index: 5; }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.trust-item { padding: 26px 22px; text-align: center; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; font-family: var(--font-head); font-size: 1.25rem; color: var(--purple); }
.trust-item span { font-size: .85rem; color: var(--muted); }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 200px;
  padding: 22px; border-radius: var(--radius); color: #fff; overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.cat-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 10, 40, .65), transparent 60%); }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: #fff; }
.cat-card h3 { position: relative; color: #fff; margin: 0; }
.cat-card small { position: relative; opacity: .85; letter-spacing: .1em; text-transform: uppercase; font-size: .72rem; }
.cat-card .gem-ico { position: absolute; top: 18px; right: 18px; width: 38px; opacity: .9; }
.c-ruby { background: linear-gradient(135deg, #e0245e, #8b0f3a); }
.c-emerald { background: linear-gradient(135deg, #1f9d6b, #0b4d3a); }
.c-sapphire { background: linear-gradient(135deg, #3d5bd6, #15246e); }
.c-pearl { background: linear-gradient(135deg, #b9a8c9, #6c5a86); }
.c-diamond { background: linear-gradient(135deg, #7fb8d6, #3a5f8a); }
.c-opal { background: linear-gradient(135deg, #d4267e, #1e7f8c); }
.c-yellow { background: linear-gradient(135deg, #e6a91f, #a5601a); }
.c-coral { background: linear-gradient(135deg, #f06a5a, #a82f3f); }

/* About / split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-visual {
  aspect-ratio: 1 / 1; border-radius: 24px; background: var(--grad-peacock); position: relative;
  display: grid; place-items: center; box-shadow: var(--shadow); overflow: hidden;
}
.split-visual::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 16px; }
.split-visual svg { width: 52%; }
.checklist { list-style: none; padding: 0; margin: 20px 0 28px; }
.checklist li { padding-left: 32px; position: relative; margin-bottom: 10px; }
.checklist li::before {
  content: "◆"; position: absolute; left: 0; top: 0; color: var(--pink); font-size: 1rem;
}

/* Features */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feat {
  background: #fff; border-radius: var(--radius); padding: 32px 28px; border: 1px solid var(--line);
  transition: transform .3s, box-shadow .3s;
}
.feat:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feat .ico {
  width: 54px; height: 54px; border-radius: 14px; background: var(--grad); color: #fff;
  display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 16px;
}

/* CTA */
.cta { background: var(--grad); color: #fff; text-align: center; border-radius: 24px; padding: 64px 28px; }
.cta h2 { color: #fff; }
.cta p { color: #fbe7f2; max-width: 560px; margin-inline: auto; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.contact-list li:last-child { border: 0; }
.contact-list b { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rust); }

/* Extras */
.c-purple { background: linear-gradient(135deg, #6c3fa3, #4b3a9a); }
.cat-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cat-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.feat-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.feat-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.hero-gem img { max-width: 360px; width: 100%; border-radius: 24px; box-shadow: 0 20px 40px rgba(0, 0, 0, .35); }
.split-visual img { width: 100%; height: 100%; object-fit: cover; }
.split--reverse .split-visual { order: 2; }
.feat .ico i, .feat .ico svg { font-size: 1.4rem; width: 1.4rem; height: 1.4rem; fill: currentColor; }
.sau-notice { padding: 20px; border: 1px dashed var(--purple); border-radius: 10px; text-align: center; color: var(--muted); }

/* Responsive */
@media (max-width: 960px) {
  .hero .container, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-gem { order: -1; }
  .hero-gem svg { width: 160px; }
  .hero { padding: 70px 0 90px; }
  .split--reverse .split-visual { order: 0; }
  .cat-grid, .cat-grid.cols-2, .cat-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .feat-grid, .feat-grid.cols-2, .feat-grid.cols-4 { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .section { padding: 56px 0; }
  .cat-grid, .cat-grid.cols-2, .cat-grid.cols-3, .feat-grid, .feat-grid.cols-2, .feat-grid.cols-4 { grid-template-columns: 1fr; }
}

/* Page banner */
.page-hero { background: var(--grad-peacock); color: #fff; padding: 56px 0; text-align: center; }
.page-hero h1 { color: #fff; margin: 0; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { margin: 12px auto 0; max-width: 560px; color: #e3f1f3; }

/* Trust strip right after a banner */
.trust--flat { margin-top: 0; padding-top: 40px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.step { text-align: center; padding: 10px 14px; }
.step-no {
  width: 58px; height: 58px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center;
  font-family: var(--font-head); font-size: 1.7rem; font-weight: 600; margin: 0 auto 16px; box-shadow: 0 8px 20px -8px rgba(212, 61, 147, .6);
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; }

/* Feature link */
.feat-link { display: inline-block; margin-top: 4px; font-weight: 500; }

/* Enquiry form */
.enq-card { max-width: 820px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.contact-card .enq-card { max-width: none; border: 0; box-shadow: none; padding: 0; background: none; }
.enq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-bottom: 22px; }
.enq-field { display: flex; flex-direction: column; gap: 6px; }
.enq-field--full { grid-column: 1 / -1; }
.enq-field label { font-size: .85rem; font-weight: 500; color: var(--ink); }
.enq-field label i { color: var(--pink); font-style: normal; }
.enq-field input, .enq-field textarea, .enq-field select {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 1rem; background: #fff; color: var(--ink);
}
.enq-field input:focus, .enq-field textarea:focus, .enq-field select:focus { outline: 0; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(108, 63, 163, .15); }
.enq-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.enq-notice { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: .95rem; }
.enq-notice--ok { background: #e8f6ee; color: #1c5b3a; border: 1px solid #b8e2c8; }
.enq-notice--err { background: #fdeceb; color: #8a2a26; border: 1px solid #f3c0bd; }
@media (max-width: 560px) {
  .enq-card { padding: 22px; }
  .enq-grid { grid-template-columns: 1fr; }
}
