@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Jost:wght@300;400;500;600;700&display=swap');

/* Studios 17 South Padre Island — logo palette design system */
:root {
  --coral: #0DBBB7;
  --coral-dark: #087A80;
  --coral-soft: #E6F6F7;
  --gold: #00A7AE;
  --wood: #556061;
  --ink: #111414;
  --ink-2: #3C4A4B;
  --muted: #63777A;
  --line: #DFE7E7;
  --bg: #F9F9F9;
  --bg-soft: #EDF3F3;
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(10,40,44,0.08);
  --shadow-lg: 0 18px 44px rgba(10,40,44,0.12);
  --serif: 'Fraunces', 'Georgia', serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: 0.005em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253,253,253,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 80px; gap: 16px;
}
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand { flex-direction: row !important; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand .logo-img { width: auto; height: 46px; display: block; }
footer .brand .logo-img { height: 38px; }
.brand-name { font-family: var(--serif); font-size: 26px; font-weight: 600; color: #111414; letter-spacing: 0.02em; white-space: nowrap; }
.brand-sub { font-size: 11px; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: 0.22em; white-space: nowrap; }
.main-nav { display: flex; gap: 8px; }
.main-nav a {
  padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 15px;
  color: var(--ink-2); transition: background 0.15s, color 0.15s;
}
.main-nav a:hover { background: var(--bg-soft); color: var(--ink); }
.main-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.header-cta { white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--ink); }

/* Buttons — pill style */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: 16px; cursor: pointer; text-align: center;
  transition: transform 0.1s, box-shadow 0.15s, background 0.15s;
  border: 0;
}
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-dark); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--coral-dark); }
.btn-light:hover { transform: scale(1.03); box-shadow: var(--shadow); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* Hero — full-bleed rounded image card */
.hero { padding: 24px 24px 0; }
.hero-card {
  position: relative; max-width: 1280px; margin: 0 auto;
  border-radius: var(--radius-lg); overflow: hidden; min-height: 520px;
  display: flex; align-items: flex-end;
}
.hero-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: relative; z-index: 2; width: 100%;
  padding: 48px; color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.32) 55%, rgba(0,0,0,0) 100%);
}
.hero-overlay .eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: #ffffff; margin-bottom: 10px;
}
.hero-overlay h1 { font-size: clamp(34px, 5vw, 56px); max-width: 14em; margin-bottom: 14px; text-shadow: 0 2px 24px rgba(0,0,0,0.55); }
.hero-overlay p.lede { font-size: 19px; max-width: 36em; color: #f2f2f2; margin-bottom: 26px; text-shadow: 0 1px 12px rgba(0,0,0,0.55); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-facts { display: flex; gap: 22px; margin-top: 28px; flex-wrap: wrap; }
.hero-facts span { font-size: 14px; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 7px; }
.hero-facts span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #5ADCE2; display: inline-block; }

/* Facts strip */
.facts-strip { border-bottom: 1px solid var(--line); background: repeating-linear-gradient(135deg, #E6F6F7 0 18px, #F9F9F9 18px 36px); }
.facts-inner {
  max-width: 1120px; margin: 0 auto; padding: 14px 24px;
  display: flex; gap: 28px; flex-wrap: wrap; justify-content: center;
}
.facts-inner span { font-size: 14px; font-weight: 600; color: var(--coral-dark); letter-spacing: 0.04em; }

/* Blocks */
.block { padding: 72px 0; }
.block.tight { padding: 40px 0; }
.block.alt { background: var(--bg-soft); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 10px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* Studio cards */
.studio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.studio-card {
  display: block; border-radius: var(--radius-md); overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  transition: transform 0.15s, box-shadow 0.15s;
}
.studio-card:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }
.studio-card .photo { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.studio-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.studio-card:hover .photo img { transform: scale(1.06); }
.studio-card h3 { font-size: 19px; padding: 16px 18px 4px; }
.studio-card p { padding: 0 18px; color: var(--muted); font-size: 14.5px; }
.studio-card .tagline { padding: 12px 18px 18px; font-weight: 600; color: var(--coral-dark); font-size: 14px; letter-spacing: 0.03em; }
.rating-chip {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  background: #fff; border-radius: 999px; padding: 5px 12px;
  font-size: 13px; font-weight: 600; box-shadow: var(--shadow);
}
.guest-badge {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  background: rgba(0,0,0,0.72); color: #fff; border-radius: 999px; padding: 5px 12px;
  font-size: 12.5px; font-weight: 700;
}

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .media img { border-radius: var(--radius-lg); width: 100%; object-fit: cover; }
.split h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 14px; }
.split p { color: var(--ink-2); margin-bottom: 18px; }
.check-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin: 10px 0 4px; }
.check-list li { font-size: 15.5px; font-weight: 600; color: var(--ink-2); padding-left: 30px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* POI list */
.poi-list { list-style: none; border-top: 1px solid var(--line); }
.poi-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 15.5px;
}
.poi-name { font-weight: 600; color: var(--ink-2); }
.poi-note { font-weight: 600; color: var(--coral-dark); white-space: nowrap; margin-left: 20px; }
.loc-media img { border-radius: var(--radius-lg); width: 100%; object-fit: cover; }
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

/* Rate card */
.rate-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px; display: flex; gap: 40px; justify-content: space-between; align-items: center;
  box-shadow: var(--shadow);
}
.rate-card h2 { font-size: 26px; margin-bottom: 8px; }
.price-line { font-family: var(--serif); font-size: 46px; font-weight: 600; color: var(--coral); letter-spacing: 0; }
.price-line span { font-size: 18px; font-weight: 600; color: var(--muted); }
.price-note { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.rate-card ul { list-style: none; margin-bottom: 8px; }
.rate-card ul li { padding: 7px 0; font-size: 15.5px; font-weight: 600; color: var(--ink-2); padding-left: 28px; position: relative; }
.rate-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.rate-card .btn { align-self: center; flex-shrink: 0; }

/* Pricing table */
.pricing-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); }
.pricing-table th, .pricing-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 15px; }
.pricing-table th { background: var(--bg-soft); font-weight: 600; color: var(--ink); }
.pricing-table td:last-child { font-weight: 800; color: var(--coral); white-space: nowrap; }
.pricing-table tr:last-child td { border-bottom: 0; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, #0DBBB7 0%, #087A80 55%, #0E3B42 100%);
  border-radius: var(--radius-lg); padding: 48px; color: #fff;
  display: flex; gap: 32px; justify-content: space-between; align-items: center;
}
.cta-band h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 6px; }
.cta-band p { color: #E1F5F6; }

/* Page hero (interior pages) */
.page-hero { padding: 64px 0 8px; }
.page-hero h1 { font-size: clamp(32px, 4.5vw, 48px); margin-bottom: 12px; }
.page-hero .lede { color: var(--muted); font-size: 18px; max-width: 44em; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; padding: 18px 22px; }
.faq summary { font-weight: 600; cursor: pointer; font-size: 16px; }
.faq details[open] summary { margin-bottom: 8px; }
.faq p { color: var(--ink-2); font-size: 15px; }

/* Policy blocks */
.policy-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 26px 28px; margin-bottom: 16px; }
.policy-block h3 { font-size: 18px; margin-bottom: 8px; }
.policy-block p { color: var(--ink-2); font-size: 15px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 30px; }
.contact-card h3 { font-size: 19px; margin-bottom: 10px; }
.contact-card p { color: var(--ink-2); font-size: 15px; }
.contact-card a { color: var(--coral); font-weight: 700; }

/* Booking widget host */
.booking-host { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.booking-host h2 { font-size: 24px; margin-bottom: 6px; }
.booking-host .sub { color: var(--muted); font-size: 15px; margin-bottom: 20px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: repeating-linear-gradient(0deg, #EFF5F5 0 26px, #E2ECEC 26px 30px); padding: 56px 0 32px; margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer { background: #FDFDFD; }
.footer-about p { color: var(--muted); font-size: 15px; margin-top: 12px; max-width: 30em; }
.site-footer h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink); margin-bottom: 14px; }
.site-footer a { display: block; color: var(--ink-2); font-size: 15px; padding: 5px 0; }
.site-footer a:hover { color: var(--coral); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: none; }

a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid #087A80; outline-offset: 2px; border-radius: 6px; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .studio-card:hover, .btn-light:hover { transform: none; }
  .studio-card .photo img { transition: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .studio-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .loc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .rate-card { flex-direction: column; align-items: flex-start; padding: 28px; }
  .main-nav { display: none; position: absolute; top: 80px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; padding: 12px 24px; }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .hero-card { min-height: 440px; }
}
@media (max-width: 620px) {
  .header-inner { padding: 0 14px; height: 66px; gap: 8px; }
  .header-cta { display: none; }
  .brand .logo-img { height: 38px; }
  .brand-name { font-size: 21px; }
  .brand-sub { font-size: 9.5px; letter-spacing: 0.14em; }
  .main-nav a { padding: 8px 10px; font-size: 14px; }
  .header-cta .btn { padding: 9px 14px; font-size: 14px; }
  .studio-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-overlay { padding: 28px 22px; }
  .hero-actions .btn { width: 100%; }
  .block { padding: 48px 0; }
  .check-list { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}
