/* --------------------------------------------------
    CSS RESET & BASICS
-------------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;  padding: 0;  border: 0;
  font-size: 100%;  font: inherit;  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; font-size: 16px; }
*, *:before, *:after { box-sizing: inherit; }
body {
  background: #F8FBFF;
  font-family: 'Roboto', Arial, sans-serif;
  color: #344D59;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: #344D59; text-decoration: none; transition: color 0.2s; }

/* Hide scrollbars visually for overlays */
body.mobile-menu-open, body.modal-open { overflow: hidden !important; }

/* --------------------------------------------------
        CSS VARIABLES FOR SOFT PASTEL THEME
-------------------------------------------------- */
:root {
  --primary: #344D59;
  --primary90: #4b6271;
  --secondary: #F8FBFF;
  --neutral: #DFE6ED;
  --accent: #91A6A6;
  --accent-hover: #687B7B;
  --pink: #F9D7E4;
  --peach: #FFE8D6;
  --green: #C3E7E5;
  --blue: #BEE4F8;
  --yellow: #FFF5D6;
  --shadow: 0 4px 18px 0 rgba(190, 228, 248, 0.13), 0 1.5px 10px 0 rgba(100,110,140,0.06);
  --shadow-elevated: 0 6px 24px 0 rgba(79,111,130,0.11), 0 1.5px 12px 0 rgba(100,110,140,0.10);
  --radius: 20px;
  --card-radius: 18px;
  --transition: 0.23s cubic-bezier(.47,.13,.44,.77);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* --------------------------------------------------
        TYPOGRAPHY AND SPACING
-------------------------------------------------- */
h1, .h1 { font-size: 2.2rem; font-family: var(--font-display); font-weight: 700; letter-spacing: -1px; margin-bottom: 20px; color: var(--primary); }
h2, .h2 { font-size: 1.5rem; font-family: var(--font-display); font-weight: 600; margin-bottom: 16px; color: var(--primary); letter-spacing: -0.5px; }
h3, .h3 { font-size: 1.18rem; font-family: var(--font-display); font-weight: 600; margin-bottom: 9px; color: var(--primary); }
h4, .h4 { font-size: 1rem; font-weight: 500; margin-bottom: 8px; color: var(--primary); }
p, ul, ol, li {font-size: 1rem; margin-bottom: 10px;}
strong { font-family: var(--font-display); font-weight: 700; color: var(--primary); }
em, i { font-style: italic; color: var(--accent);}

@media (min-width:600px) {
  h1, .h1 { font-size: 2.8rem; }
  h2, .h2 { font-size: 2rem; }
  h3, .h3 { font-size: 1.3rem; }
}
@media (min-width:1000px) {
  h1, .h1 { font-size: 3.2rem; }
  h2, .h2 { font-size: 2.3rem; }
}

/**** Paragrafo regular ***/
p, ul, ol, li { font-family: var(--font-body); color: var(--primary90); font-size: 1rem; line-height: 1.7; }
ul, ol {padding-left: 20px;}

/* --------------------------------------------------
        GLOBAL CLASSES AND FLEXBOX SECTION SPACING
-------------------------------------------------- */
.container {
  width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 18px;
}
.content-wrapper {
  display: flex; flex-direction: column; gap: 14px;
  background: transparent;
}
section { margin-bottom: 60px; padding: 40px 0 0 0; }
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container {
  display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 22px;
}
.card {
  margin-bottom: 20px; position: relative; background: var(--secondary); border-radius: var(--card-radius); box-shadow: var(--shadow); padding: 24px; transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-7px) scale(1.015);
}
.content-grid {
  display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between;
}
.text-image-section {
  display: flex; align-items: center; gap: 30px; flex-wrap: wrap;
}
.testimonial-card {
  display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 20px 24px; background: var(--blue); border-radius: var(--radius); box-shadow: var(--shadow);
  margin-bottom: 20px;
  color: #25364a;
}
.feature-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 15px;
}
.text-section {
  display: flex; flex-direction: column; gap: 14px;
}

@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: stretch; gap: 22px; }
  .content-grid { flex-direction: column; gap: 18px; }
  .container { padding: 0 11px; }
}

/* --------------------------------------------------
        HEADER AND NAVIGATION
-------------------------------------------------- */
header {
  width: 100%; background: var(--secondary); box-shadow: 0 2px 16px 0 rgba(190, 228, 248, 0.25);
  display: flex; align-items: center; justify-content: space-between; padding: 12px 0 12px 0; position: relative; z-index: 22;
}

header > a img { height: 38px; margin-left: 10px; }

.main-nav {
  display: flex; gap: 22px; align-items: center;
}
.main-nav a {
  font-family: var(--font-display); font-weight: 500; letter-spacing: -0.3px; font-size: 1.06rem; color: var(--primary); padding: 2px 12px; border-radius: 7px;transition: background var(--transition), color var(--transition);
}
.main-nav a:hover, .main-nav a.active {
  background: var(--accent); color: #fff;
}
.cta-btn {
  display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); background: var(--pink); color: var(--primary); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.4px; padding: 10px 24px; border: none; border-radius: 24px; box-shadow: var(--shadow); cursor: pointer; margin-left: 30px; transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--accent); color: #fff; box-shadow: var(--shadow-elevated); transform: translateY(-2px) scale(1.025);
}
.secondary-cta {
  display: inline-block; margin-top: 18px; font-family: var(--font-display); font-weight: 600; color: var(--accent-hover); border: 1px solid var(--accent); padding: 7px 20px; background: var(--yellow); border-radius: 18px; transition: background var(--transition), color var(--transition), border var(--transition);
}
.secondary-cta:hover, .secondary-cta:focus {
  background: var(--accent); color: #fff; border: 1px solid var(--accent-hover);
}

/* Burger Menu Button */
.mobile-menu-toggle {
  background: var(--accent); color: #fff; font-size: 1.8rem; border: none; border-radius: 50%; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; margin-left: 16px; cursor: pointer; box-shadow: var(--shadow); transition: background var(--transition), box-shadow var(--transition);
  z-index: 30;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--accent-hover); box-shadow: var(--shadow-elevated);
}

@media (max-width: 1050px) {
  .main-nav { gap: 11px; }
}
@media (max-width: 900px) {
  .main-nav { gap: 3px; }
  .cta-btn { margin-left: 8px; padding: 8px 16px; }
}

@media (max-width: 800px) {
  .main-nav, .cta-btn { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 801px) {
  .mobile-menu-toggle { display: none; }
  .main-nav, .cta-btn { display: flex; }
}

/* --------------------------------------------------
        MOBILE OVERLAY MENU
-------------------------------------------------- */
.mobile-menu {
  position: fixed; z-index: 99; inset: 0; left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(248, 251, 255, 0.91);
  box-shadow: 0 4px 32px 6px rgba(190,228,248,0.17);
  transform: translateX(-100%); transition: transform 0.33s cubic-bezier(.51,.16,.53,1.14);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  padding-top: 44px; pointer-events: none; opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0); pointer-events: auto; opacity: 1;    
}
.mobile-menu-close {
  position: absolute; top: 16px; right: 16px; background: var(--primary); color: #fff; font-size: 2rem; border: none; border-radius: 50%; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--accent);
}
.mobile-nav {
  display: flex; flex-direction: column; gap: 30px; align-items: flex-start; margin-top: 36px; width: 90vw; max-width: 420px;
}
.mobile-nav a {
  font-family: var(--font-display); font-weight: 600; color: var(--primary); font-size: 1.35rem; padding: 16px 18px; border-radius: 12px; background: var(--secondary); transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent); color: #fff;
}
@media (max-width: 450px) {
  .mobile-nav { width: 100vw; max-width: 100vw; gap: 12px; }
  .mobile-nav a { font-size: 1.05rem; padding: 13px 8px; }
}

/* --------------------------------------------------
        PAGES & FLEX LAYOUTS
-------------------------------------------------- */
.hero {
  background: linear-gradient(110deg, #F9D7E4 0%, #F8FBFF 40%, #BEE4F8 100%);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 5px 36px 0 rgba(190, 228, 248, 0.14);
  margin-bottom: 50px;
  padding-top: 44px; padding-bottom: 36px;
}
.hero h1 {
  color: var(--primary);
  text-shadow: 0 2px 12px #f9d7e480;
}
.hero p { font-size: 1.18rem; color: var(--accent-hover); margin-bottom: 24px; }

.features, .project-overviews, .workshops, .services, .about, .studio-info, .consultancy, .composition, .tips, .editing, .benefits, .registration, .call-info, .philosophy, .community {
  background: var(--yellow); border-radius: var(--radius);
  margin-bottom: 60px; padding: 40px 0;
  box-shadow: 0 3px 24px 0 rgba(255,198,227,0.10);
}
.features ul, .services ul, .workshops ul, .benefits ul, .project-overviews ul, .philosophy ul, .content-wrapper ul {
  list-style: none; padding-left: 0; margin-bottom: 10px;
}
.features ul li, .services ul li, .workshops ul li, .benefits ul li, .project-overviews ul li, .philosophy ul li, .content-wrapper ul li {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 0; font-size: 1.05rem; font-family: var(--font-body);
}
.features ul li img, .about-preview ul li img, .services-preview ul li img {
  height: 32px; min-width: 32px;
  filter: drop-shadow(0 2px 10px #F9D7E466);
}

.services-preview, .about-preview, .workshops-preview, .cta-banner {
  background: var(--peach); border-radius: var(--radius);
  box-shadow: 0 2px 17px 0 #f8c2e310;
}
.cta-banner {
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}

.card-container, .service-cards {
  display: flex; flex-wrap: wrap; gap: 24px; justify-content: flex-start;
}
.service-cards > .text-section {
  background: var(--blue); border-radius: var(--card-radius); box-shadow: var(--shadow); padding: 22px 24px; min-width: 220px; flex: 1 1 290px;
  transition: box-shadow var(--transition), transform var(--transition);
  margin-bottom: 20px;
}
.service-cards > .text-section:hover {
  box-shadow: var(--shadow-elevated); transform: translateY(-5px) scale(1.02);
}

.testimonials {
  background: var(--green);
  border-radius: var(--radius);
  padding: 40px 0; margin-bottom: 60px; box-shadow: 0 3px 24px 0 #c3e7e530;
}
.testimonials h2 { margin-bottom: 28px; color: var(--primary); }
.testimonial-card {
  background: var(--secondary);
  color: #25364a;
  border-left: 6px solid var(--pink);
  align-items: flex-start; gap: 8px; margin-bottom: 22px;
  font-size: 1.08rem;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial-card strong { color: var(--accent-hover); }
.testimonial-card img { height: 19px; display: inline-block; margin-left: 2px; }

@media (max-width: 950px) {
  .service-cards { flex-direction: column; gap: 18px; }
  .service-cards > .text-section { min-width: 0; width: 100%; }
}

@media (max-width: 600px) {
  .features, .project-overviews, .workshops, .services, .about, .studio-info, .consultancy, .composition, .tips, .editing, .benefits, .registration, .call-info, .philosophy, .community, .testimonials, .services-preview, .about-preview, .workshops-preview, .cta-banner {
    padding: 24px 0;
    margin-bottom: 38px;
    border-radius: 14px;
  }
  .service-cards > .text-section { padding: 13px 12px; }
}

.thank-you {
  background: var(--peach);
  border-radius: var(--radius);
  box-shadow: 0 2px 17px 0 #f6bcd6a6;
  text-align: center;
  padding: 48px 0;
}

/* --------------------------------------------------
        FAQ, ABOUT PAGE & LEGAL SECTIONS
-------------------------------------------------- */
.faq {
  background: var(--yellow);
  border-radius: var(--radius);
  box-shadow: 0 2px 11px 0 #f6eab8a4;
  padding: 34px 0;
}
.text-section h3 { font-size: 1.15rem; color: var(--primary); font-family: var(--font-display); margin-bottom: 5px;}

.about, .philosophy, .team, .studio-info, .legal {
  background: var(--peach);
  border-radius: var(--radius);
  box-shadow: 0 2px 18px 0 #ffefd7bd;
  margin-bottom: 60px;
}

.legal {
  background: var(--neutral);
  box-shadow: 0 2px 18px 0 #c9d2e9a0;
  border-radius: var(--radius);
}
.legal h2 { margin-top: 22px; font-size: 1.22rem; font-weight: 600;}

@media (max-width: 650px) {
  .legal, .about, .philosophy, .team, .studio-info, .faq {
    padding: 22px 0; border-radius: 10px;
  }
  .team ul li {font-size: 1rem;}
}

/* --------------------------------------------------
        FOOTER
-------------------------------------------------- */
footer {
  background: linear-gradient(96deg, #F9D7E4 5%, #F8FBFF 60%, #BEE4F8 100%);
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: 0 -3px 22px 0 #84b0c131;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 35px 5vw 24px 5vw;
}
.footer-nav {
  display: flex; gap: 20px; margin-bottom: 12px; flex-wrap: wrap; justify-content: center;
}
.footer-nav a {
  color: var(--primary); font-family: var(--font-display); font-size: 1rem;
  padding: 3px 10px; border-radius: 7px;
  transition: background var(--transition);
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--accent); color: #fff;
}
.contact-footer {
  display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; align-items: center; margin: 9px 0 10px 0;
}
.contact-footer span { color: var(--primary); font-size: 0.93rem; display: inline-flex; align-items: center; gap: 7px; }
.contact-footer img { height: 16px; }
footer p { color: #8C8FA8; font-size: 0.93rem; margin-top: 18px; text-align: center;}

@media (max-width:600px) {
  .footer-nav, .contact-footer { gap: 12px; }
  footer { padding: 22px 2vw 18px 2vw; border-radius: 12px 12px 0 0;}
}

/* --------------------------------------------------
        BUTTONS, LINKS, AND MICRO-INTERACTIONS
-------------------------------------------------- */
button, .cta-btn, .secondary-cta {
  outline: none;
  font-family: var(--font-display);
}
button:focus, a:focus { outline: 2px solid var(--accent); outline-offset: 2px; }

select, input, textarea {
  font-family: inherit; font-size: 1rem; border-radius: 8px; border: 1.5px solid var(--neutral); padding: 8px 12px; margin-bottom: 16px;
  background: var(--secondary); color: var(--primary);
  transition: border var(--transition), background var(--transition);
}
select:focus, input:focus, textarea:focus { border: 1.5px solid var(--accent); background: #fff; }

/* Links with underline on hover (in content only) */
.content-wrapper a:not(.cta-btn):not(.secondary-cta):not(.mobile-nav a):not(.footer-nav a) {
  color: var(--accent-hover); text-decoration: underline dotted var(--accent);
  transition: color var(--transition), text-decoration-color var(--transition);
}
.content-wrapper a:not(.cta-btn):not(.secondary-cta):not(.mobile-nav a):not(.footer-nav a):hover {
  color: var(--primary); text-decoration: underline solid var(--primary);
}

/* --------------------------------------------------
      COOKIE CONSENT BANNER & MODAL
-------------------------------------------------- */
.cookie-banner {
  position: fixed; z-index: 1400;
  bottom: 0; left: 0; width: 100vw; display: flex;
  align-items: center; justify-content: center; background: var(--neutral);
  box-shadow: 0 -3px 30px #c3e7e563;
  padding: 20px 20px 20px 30px; gap: 26px;
  font-family: var(--font-body); font-size: 1rem; color: var(--primary);
  border-top-left-radius: var(--radius); border-top-right-radius: var(--radius);
  animation: slideUpIn 0.7s both cubic-bezier(.47,.18,.54,.85);
}
@keyframes slideUpIn {
  from { transform: translateY(64px); opacity: 0; }
  to { transform: translateY(0);   opacity: 1; }
}

.cookie-banner p { max-width: 420px; margin-bottom: 0; }
.cookie-actions {
  display: flex; flex-wrap: wrap; gap: 16px;
}
.cookie-btn {
  font-family: var(--font-display); font-size: 1rem; font-weight: 600;
  border: none; cursor: pointer; border-radius: 20px;
  padding: 8px 22px; margin-right: 2px;
  background: var(--accent); color: #fff;
  margin-bottom: 0;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.cookie-btn.accept {
  background: var(--green); color: var(--primary);
  border: 1.2px solid #98cccc;
}
.cookie-btn.reject {
  background: var(--pink); color: var(--primary);
  border: 1.2px solid #f6bdd6;
}
.cookie-btn.settings {
  background: var(--blue); color: var(--primary);
  border: 1.2px solid #bce6fa;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--accent-hover); color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #a6e3de;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #f9d7e4; color: var(--accent-hover);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #bee4f8; color: var(--accent-hover);
}

@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column; align-items: flex-start;
    padding: 18px 13px 14px 13px; gap: 14px;
    font-size: 0.97rem;
    border-radius: 9px 9px 0 0;
  }
  .cookie-actions { width: 100%; gap: 8px; }
}

.cookie-modal {
  position: fixed; top: 0; left: 0; z-index: 1500; width: 100vw; height: 100vh; background: rgba(52,77,89,0.18);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.23s cubic-bezier(.47,.18,.54,.9);
  opacity: 0; pointer-events: none;
}
.cookie-modal.open { opacity: 1; pointer-events: auto; }
.cookie-modal-content {
  background: var(--secondary); border-radius: var(--radius); box-shadow: var(--shadow-elevated);
  padding: 34px 32px; min-width: 80vw; max-width: 420px; font-family: var(--font-body);
  display: flex; flex-direction: column; gap: 17px; align-items: stretch; position: relative;
  animation: scaleInModal 0.41s cubic-bezier(.47,.18,.54,.85) both;
}
@keyframes scaleInModal {
  from { opacity: 0; transform: scale(0.93); }
  to   { opacity: 1; transform: scale(1); }
}
.cookie-modal-content h3 {
  margin-top: 0; margin-bottom: 7px; font-size: 1.13rem; color: var(--primary); font-family: var(--font-display);
}
.cookie-modal-content label {
  display: flex; align-items: center; gap: 9px; font-size: 1rem; font-weight: 500; background: var(--neutral); border-radius: 12px; padding: 10px 12px; margin-bottom: 7px;
}
.cookie-modal-content input[type='checkbox'] {
  accent-color: var(--accent);
  width: 19px; height: 19px; margin: 0 7px 0 0;
}
.cookie-modal .cookie-close {
  position: absolute; top: 12px; right: 14px; background: var(--accent); color: #fff; border: none; border-radius: 50%; width: 36px; height: 36px; font-size: 1.4rem; display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background var(--transition);
}
.cookie-modal .cookie-close:hover, .cookie-modal .cookie-close:focus {
  background: var(--primary);
}

/**** Utilities & Misc ****/
.hide { display: none !important; }

::-webkit-input-placeholder { color: var(--accent-hover); opacity: 0.8; }
::-moz-placeholder { color: var(--accent-hover); opacity: 0.8; }
:-ms-input-placeholder { color: var(--accent-hover); opacity: 0.8; }
::placeholder { color: var(--accent-hover); opacity: 0.8; }

/**** Subtle Animations ****/
.card, .service-cards > .text-section, .testimonial-card, .cookie-modal-content {
  transition: box-shadow var(--transition), background var(--transition), color var(--transition), transform var(--transition);
}

/**** Z-Indexed Elements - For overlays (menu/modal/banners) ****/
.mobile-menu, .cookie-modal, .cookie-banner { z-index: 9999; }

/**** Remove absolute for cards, only use for decoration/icons ****/

/**** Ensure NO elements overlap due to spacing ****/
.card:not(:last-child), .service-cards > .text-section:not(:last-child), .testimonial-card:not(:last-child) {
  margin-bottom: 22px;
}

/**** Visual Hierarchy helpers ****/
.cta-banner h2, .cta-banner p, .cta-banner .cta-btn { margin-bottom: 16px; }

/**** Smooth transitions for overlays & menus ****/
.mobile-menu, .mobile-menu.open, .cookie-modal, .cookie-modal.open { transition: all 0.33s cubic-bezier(.51,.16,.53,1.14); }

/**** Accessibility: Focus/Skip/Contrast ****/
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; }

/**** High contrast for testimonials and review cards ****/
.testimonials, .testimonial-card { color: #25364a !important; background: var(--secondary) !important; }

/**** Responsive adjustments for extra small screens ****/
@media (max-width:400px) {
  h1, .h1 { font-size: 1.6rem; }
  h2, .h2 { font-size: 1.18rem; }
  .cta-btn, .secondary-cta { font-size: 0.98rem; padding: 8px 11px; }
}
