/* Priyadarshika - signature services (Homestay, Wedding venue, Pitru Paksha) */
.sg-section, .sg-cards-section {
    --sg-gold: var(--main-600, hsl(39, 100%, 69%));
    --sg-gold-d: #9a6b00;
    --sg-ink: #1d1d1b;
    --sg-muted: #5f5b51;
    background: #fbf8ec;
    padding: 80px 0 40px;
}
.sg-cards-section { padding: 70px 0 20px; background: #f7f6ed; }
.sg-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.sg-eyebrow {
    display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    color: var(--sg-gold-d); padding-bottom: 10px; margin-bottom: 10px; border-bottom: 3px solid var(--sg-gold);
}
.sg-head h2 { font-size: clamp(28px, 4vw, 44px); color: var(--sg-ink); margin: 0 0 8px; }
.sg-head__sub { color: var(--sg-muted); font-size: 17px; margin: 0; }

/* ---------- Image tiles: title sits on the photo ---------- */
.sg-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 56px; }
.sg-tile {
    position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; color: #fff; text-decoration: none;
    box-shadow: 0 12px 34px rgba(30, 24, 8, .2);
    animation: sgRise .8s cubic-bezier(.22, .61, .36, 1) both; animation-delay: calc(var(--i) * 120ms);
    transition: transform .45s cubic-bezier(.22, .61, .36, 1), box-shadow .45s;
}
.sg-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s cubic-bezier(.22, .61, .36, 1); }
.sg-tile__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 25%, rgba(10, 8, 2, .86) 100%); }
.sg-tile::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--sg-gold), #fff0c8, var(--sg-gold)); transform: scaleX(0); transition: transform .5s; }
.sg-tile:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(30, 24, 8, .32); color: #fff; }
.sg-tile:hover img { transform: scale(1.1); }
.sg-tile:hover::after { transform: scaleX(1); }
.sg-tile__no { position: absolute; top: 14px; left: 18px; font-size: 40px; font-weight: 800; line-height: 1; color: rgba(255, 255, 255, .92); text-shadow: 0 3px 14px rgba(0, 0, 0, .5); }
.sg-tile__txt { position: absolute; left: 20px; right: 20px; bottom: 18px; display: flex; flex-direction: column; gap: 4px; }
.sg-tile__txt strong { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; text-shadow: 0 3px 16px rgba(0, 0, 0, .6); }
.sg-tile__txt em { font-style: normal; font-weight: 700; font-size: 14px; letter-spacing: .5px; text-transform: uppercase; color: var(--sg-gold); display: inline-flex; align-items: center; gap: 6px; transition: gap .3s; }
.sg-tile:hover em { gap: 12px; }

/* ---------- Full service blocks ---------- */
.sg-block {
    background: #fff; border-radius: 28px; overflow: hidden; margin-bottom: 52px; scroll-margin-top: 130px;
    box-shadow: 0 18px 50px rgba(30, 24, 8, .14); border: 2px solid rgba(255, 201, 107, .55);
}
.sg-hero { position: relative; min-height: 380px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.sg-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.22, .61, .36, 1); }
.sg-block:hover .sg-hero > img { transform: scale(1.06); }
.sg-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, rgba(12, 9, 2, .55) 45%, rgba(12, 9, 2, .92) 100%); }
.sg-hero__no { position: absolute; top: 18px; right: 26px; font-size: clamp(64px, 9vw, 120px); font-weight: 800; line-height: 1; color: rgba(255, 255, 255, .2); }
.sg-hero__txt { position: relative; padding: 34px 40px 36px; max-width: 880px; }
.sg-ribbon {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 30px; margin-bottom: 14px;
    background: linear-gradient(120deg, var(--sg-gold), #f3b84a); color: #1b1a17; font-size: 12.5px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .3);
}
.sg-hero__txt h3 { color: #fff; font-size: clamp(28px, 4.2vw, 50px); line-height: 1.15; margin: 0 0 12px; text-shadow: 0 4px 22px rgba(0, 0, 0, .55); }
.sg-hero__txt p { margin: 0; font-size: 17.5px; line-height: 1.75; color: rgba(255, 255, 255, .92); max-width: 760px; }

.sg-body { padding: 34px 36px 36px; }
.sg-points { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.sg-points li {
    display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 16px; background: #fcfaf1;
    border: 1px solid rgba(201, 150, 43, .2); border-left: 4px solid var(--sg-gold);
    transition: transform .35s, box-shadow .35s, background .35s;
}
.sg-points li:hover { transform: translateY(-4px); background: #fff6dc; box-shadow: 0 12px 26px rgba(30, 24, 8, .12); }
.sg-points__icon {
    flex: 0 0 auto; width: 46px; height: 46px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--sg-gold), #f3b84a); color: #1b1a17; font-size: 23px;
}
.sg-points li > span:last-child { color: var(--sg-muted); line-height: 1.7; font-size: 15.5px; }
.sg-points strong { display: block; color: var(--sg-ink); font-size: 17px; margin-bottom: 3px; }

.sg-cta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 20px 24px; border-radius: 18px;
    background: linear-gradient(120deg, #1d1b14, #3a2f10);
}
.sg-cta__txt { color: #fff; font-weight: 700; font-size: 18px; margin-right: auto; }
.sg-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 24px; border-radius: 12px;
    font-weight: 700; font-size: 14.5px; text-transform: uppercase; letter-spacing: .5px; text-decoration: none;
    transition: transform .3s, box-shadow .3s, background .3s, color .3s;
}
.sg-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0, 0, 0, .3); }
.sg-btn--gold { background: var(--sg-gold); color: #1b1a17; }
.sg-btn--gold:hover { color: #000; }
.sg-btn--line { border: 2px solid #25d366; color: #fff; background: rgba(37, 211, 102, .12); }
.sg-btn--line:hover { background: #25d366; color: #fff; }

/* ---------- Home page cards: title on the image ---------- */
.sg-card {
    display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: 22px; overflow: hidden; text-decoration: none; color: inherit;
    box-shadow: 0 10px 30px rgba(30, 24, 8, .12); border: 1px solid rgba(0, 0, 0, .05);
    transition: transform .45s cubic-bezier(.22, .61, .36, 1), box-shadow .45s;
}
.sg-card:hover { transform: translateY(-9px); box-shadow: 0 24px 46px rgba(30, 24, 8, .22); color: inherit; }
.sg-card__img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.sg-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s cubic-bezier(.22, .61, .36, 1); }
.sg-card:hover .sg-card__img img { transform: scale(1.1); }
.sg-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 30%, rgba(10, 8, 2, .85) 100%); }
.sg-card__no { position: absolute; top: 12px; left: 16px; font-size: 36px; font-weight: 800; line-height: 1; color: rgba(255, 255, 255, .92); text-shadow: 0 3px 12px rgba(0, 0, 0, .5); }
.sg-card__title { position: absolute; left: 18px; right: 18px; bottom: 14px; color: #fff; font-size: clamp(22px, 2.2vw, 27px); font-weight: 700; line-height: 1.2; text-shadow: 0 3px 14px rgba(0, 0, 0, .6); }
.sg-card__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 22px 22px; flex: 1; }
.sg-card__body > span { color: var(--sg-muted); line-height: 1.65; font-size: 15px; }
.sg-card__body em { margin-top: auto; font-style: normal; font-weight: 700; color: var(--sg-gold-d); display: inline-flex; align-items: center; gap: 6px; transition: gap .3s; }
.sg-card:hover em { gap: 12px; }

@keyframes sgRise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .sg-section { padding: 56px 0 20px; }
    .sg-tiles { grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 40px; }
    .sg-tile__no { font-size: 28px; top: 10px; left: 12px; }
    .sg-tile__txt { left: 12px; right: 12px; bottom: 12px; }
    .sg-tile__txt strong { font-size: 18px; }
    .sg-tile__txt em { display: none; }
    .sg-hero { min-height: 320px; }
    .sg-hero__txt { padding: 26px 26px 28px; }
    .sg-body { padding: 24px 22px 26px; }
    .sg-points { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
    .sg-head { margin-bottom: 26px; }
    .sg-tiles { grid-template-columns: 1fr; gap: 14px; margin-bottom: 34px; }
    .sg-tile { aspect-ratio: 16 / 9; }
    .sg-tile__txt strong { font-size: 24px; }
    .sg-block { border-radius: 20px; margin-bottom: 36px; }
    .sg-hero { min-height: 300px; }
    .sg-hero__txt { padding: 20px 18px 22px; }
    .sg-hero__txt p { font-size: 15.5px; line-height: 1.65; }
    .sg-hero__no { right: 14px; top: 10px; }
    .sg-body { padding: 18px 14px 20px; }
    .sg-points li { padding: 14px; gap: 12px; }
    .sg-points__icon { width: 40px; height: 40px; font-size: 20px; }
    .sg-cta { padding: 16px; }
    .sg-cta__txt { width: 100%; margin: 0 0 4px; }
    .sg-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .sg-tile { animation: none; }
    .sg-block:hover .sg-hero > img, .sg-tile:hover img, .sg-card:hover .sg-card__img img { transform: none; }
}
